Semiconductor device, method for driving the same, and electronic appliance

ABSTRACT

A semiconductor device that suppresses operation delay due to stop and restart of the supply of a power supply potential is provided. A potential corresponding to data held while power supply potential is continuously supplied is backed up in a node connected to a capacitor while the supply of the power supply potential is stopped. Then, by utilizing change in resistance of a channel in a transistor whose gate is the node, the data is restored with restart of the supply of the power supply potential. Note that by supplying a high potential to the node before the data back up, high-speed and accurate data back up is possible.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to an object, a method, or a manufacturing method. In addition, the present invention relates to a process, a machine, manufacture, or a composition of matter. One embodiment of the present invention relates to a semiconductor device, a display device, a light-emitting device, a power storage device, a memory device, a driving method thereof, or a manufacturing method thereof. In particular, one embodiment of the present invention relates to a semiconductor device, a display device, or a light-emitting device each including an oxide semiconductor.

In this specification and the like, a semiconductor device generally means a device that can function by utilizing semiconductor characteristics. A display device, an electro-optical device, a semiconductor circuit, and an electronic appliance include a semiconductor device in some cases.

2. Description of the Related Art

A semiconductor device such as a programmable logic device (PLD) or a central processing unit (CPU) has a variety of configurations depending on its application. The semiconductor device generally includes a memory device; the PLD includes a register and a configuration memory, and the CPU includes a register and a cache memory.

These memory devices need to operate at higher speed in writing and reading data than a main memory for which a DRAM is generally used. Thus, in many cases, a flip-flop is used as a register, and a static random access memory (SRAM) is used as a configuration memory and a cache memory.

The SRAM achieves high-speed operation with miniaturization of a transistor; however, there is a problem in that as the transistor is miniaturized, an increase in leakage current becomes obvious, which results in increased power consumption. In order to reduce power consumption, an attempt has been made to stop the supply of a power supply potential to a semiconductor device in a period during which data is not input or output, for example.

However, a flip-flop used as a register and an SRAM used as a cache memory are volatile memory devices. Therefore, in the case where the supply of a power supply potential to a semiconductor device is stopped, data that has been lost in a volatile memory device such as a register or a cache memory need to be restored after the supply of the power supply potential is restarted.

In view of this, a semiconductor device in which a nonvolatile memory device is located on the periphery of a volatile memory device has been developed. For example, Patent Document 1 discloses the following technique: data held in a flip-flop or the like is backed up in a ferroelectric memory before the supply of a power supply potential is stopped, and the data backed up in the ferroelectric memory is restored to the flip-flop or the like after the supply of the power supply potential is restarted.

[Patent Document 1] Japanese Published Patent Application No. H10-078836

SUMMARY OF THE INVENTION

An object of one embodiment of the present invention is to provide a semiconductor device with power consumption. Another object of one embodiment of the present invention is to provide a method for driving a semiconductor device with low power consumption. Another object of one embodiment of the present invention is to provide a semiconductor device in which operation delay due to stop and restart of the supply of a power supply potential is suppressed. Another object of one embodiment of the present invention is to provide a method for driving a semiconductor device in which operation delay due to stop and restart of the supply of a power supply potential is suppressed. Another object of one embodiment of the present invention is to provide a novel semiconductor device and a method for driving the semiconductor device.

Note that the description of a plurality of objects does not preclude the existence of each object. One embodiment of the present invention does not necessarily achieve all the objects listed above. Objects other than those listed above are apparent from the description of the specification, drawings, and claims, and such objects could be an object of one embodiment of the present invention.

One embodiment of the present invention is a semiconductor device that includes first to third circuits. The first circuit includes a first node and a second node. The second circuit includes first to sixth transistors, a third node, a fourth node, and a first wiring. The third circuit includes seventh to ninth transistors, first to N-th (N is an even number of 2 or more) inverter circuits, and a second wiring. The first node has a function of holding one of a first potential and a second potential. The second node has a function of holding the other of the first potential and the second potential. The first node is electrically connected to the third node via the first transistor. The first node is electrically connected to the first wiring via the fifth and sixth transistors. The second node is electrically connected to the fourth node via the fourth transistor. The second node is electrically connected to the first wiring via the second and third transistors. A gate of the second transistor is electrically connected to the third node. A gate of the fifth transistor is electrically connected to the fourth node. One of a source and a drain of the seventh transistor is electrically connected to the third node. The other of the source and the drain of the seventh transistor is electrically connected to the second wiring via the first to N-th inverter circuits. A gate of the seventh transistor is electrically connected to the second wiring via the ninth transistor. One of a source and a drain of the eighth transistor is electrically connected to the fourth node. The other of the source and the drain of the eighth transistor is electrically connected to the second wiring via the first to N-th inverter circuits. A gate of the eighth transistor is electrically connected to the second wiring via the ninth transistor. The first wiring is supplied with the second potential. The second wiring is supplied with the first potential. The first, fourth, seventh, and eighth transistors each preferably include an oxide semiconductor in a channel formation region.

Another embodiment of the present invention is a semiconductor device that includes first to third circuits. The first circuit includes a first node and a second node. The second circuit includes first to sixth transistors, a third node, a fourth node, and a first wiring. The third circuit includes seventh and eighth transistors and a second wiring. The first node has a function of holding one of a first potential and a second potential. The second node has a function of holding the other of the first potential and the second potential. The first node is electrically connected to the third node via the first transistor. The first node is electrically connected to the first wiring via the fifth and sixth transistors. The second node is electrically connected to the fourth node via the fourth transistor. The second node is electrically connected to the first wiring via the second and third transistors. A gate of the second transistor is electrically connected to the third node. A gate of the fifth transistor is electrically connected to the fourth node. The second wiring is electrically connected to the third node via the seventh transistor. The second wiring is electrically connected to the fourth node via the eighth transistor. The first wiring is supplied with the second potential. The second wiring is supplied with the first potential. The first, fourth, seventh, and eighth transistors each preferably include an oxide semiconductor in a channel formation region.

In any of the above-described embodiments, the first potential is preferably higher than the second potential.

In any of the above-described embodiments, the third node holds the potential supplied to the first node while the supply of power supply potentials to the first to third circuits is stopped. The fourth node holds the potential supplied to the second node while the supply of the power supply potentials to the first to third circuits is stopped.

Another embodiment of the present invention is a semiconductor device that includes first to third circuits. The first circuit includes a first node and a second node. The second circuit includes first and second inverter circuits, first to sixth transistors, a third node, a fourth node, and a first wiring. The third circuit includes seventh to ninth transistors, third to N-th (N is an even number of 4 or more) inverter circuits, and a second wiring. The first node has a function of holding one of a first potential and a second potential. The second node has a function of holding the other of the first potential and the second potential. The first node is electrically connected to the third node via the first inverter circuit and the first transistor. The first node is electrically connected to the first wiring via the second and third transistors. The second node is electrically connected to the fourth node via the second inverter circuit and the fourth transistor. The second node is electrically connected to the first wiring via the fifth and sixth transistors. A gate of the second transistor is electrically connected to the third node. A gate of the fifth transistor is electrically connected to the fourth node. One of a source and a drain of the seventh transistor is electrically connected to the third node. The other of the source and the drain of the seventh transistor is electrically connected to the second wiring via the third to N-th inverter circuits. A gate of the seventh transistor is electrically connected to the second wiring via the ninth transistor. One of a source and a drain of the eighth transistor is electrically connected to the fourth node. The other of the source and the drain of the eighth transistor is electrically connected to the second wiring via the third to N-th inverter circuits. A gate of the eighth transistor is electrically connected to the second wiring via the ninth transistor. The first wiring is supplied with the second potential. The second wiring is supplied with the first potential. The first, fourth, seventh, and eighth transistors each preferably include an oxide semiconductor in a channel formation region.

Another embodiment of the present invention is a semiconductor device that includes first to third circuits. The first circuit includes a first node and a second node. The second circuit includes first and second inverter circuits, first to sixth transistors, a third node, a fourth node, and a first wiring. The third circuit includes seventh and eighth transistors and a second wiring. The first node has a function of holding one of a first potential and a second potential. The second node has a function of holding the other of the first potential and the second potential. The first node is electrically connected to the third node via the first inverter circuit and the first transistor. The first node is electrically connected to the first wiring via the second and third transistors. The second node is electrically connected to the fourth node via the second inverter circuit and the fourth transistor. The second node is electrically connected to the first wiring via the fifth and sixth transistors. A gate of the second transistor is electrically connected to the third node. A gate of the fifth transistor is electrically connected to the fourth node. The second wiring is electrically connected to the third node via the seventh transistor. The second wiring is electrically connected to the fourth node via the eighth transistor. The first wiring is supplied with the second potential. The second wiring is supplied with the first potential. The first, fourth, seventh, and eighth transistors each preferably include an oxide semiconductor in a channel formation region.

In any of the above-described embodiments, the first potential is preferably higher than the second potential.

In any of the above-described embodiments, the third node holds the potential supplied to the second node while the supply of the power supply potentials to the first to third circuits is stopped. The fourth node holds the potential supplied to the first node while the supply of the power supply potentials to the first to third circuits is stopped.

Another embodiment of the present invention is an electronic appliance that includes the semiconductor device of any of the above-described embodiments and a display device, a microphone, a speaker, an operation key, and/or a housing.

In this specification and the like, a transistor is an element having at least three terminals of a gate, a drain, and a source. The transistor includes a channel region between the drain (a drain terminal, a drain region, or a drain electrode) and the source (a source terminal, a source region, or a source electrode) and current can flow through the drain, the channel region, and the source.

Here, since the source and the drain of the transistor change depending on the structure, the operating condition, and the like of the transistor, it is difficult to define which is a source or a drain. Thus, a portion that functions as a source or a portion that functions as a drain is not referred to as a source or a drain in some cases. In that case, one of the source and the drain might be referred to as a first electrode, and the other of the source and the drain might be referred to as a second electrode.

Note that in this specification, ordinal numbers such as “first”, “second”, and “third” are used in order to avoid confusion among components, and thus do not limit the number of the components.

Note that in this specification, the expression “A and B are connected” or “A is connected to B” means the case where A and B are electrically connected to each other as well as the case where A and B are directly connected to each other. Here, the expression “A and B are electrically connected” means the case where electric signals can be transmitted and received between A and B when an object having any electric action exists between A and B.

For example, any of the following expressions can be used for the case where a source (or a first terminal or the like) of a transistor is electrically connected to X through (or not through) Z1 and a drain (or a second terminal or the like) of the transistor is electrically connected to Y through (or not through) Z2, or the case where a source (or a first terminal or the like) of a transistor is directly connected to one part of Z1 and another part of Z1 is directly connected to X while a drain (or a second terminal or the like) of the transistor is directly connected to one part of Z2 and another part of Z2 is directly connected to Y.

Examples of the expressions include, “X, Y, a source (or a first terminal or the like) of a transistor, and a drain (or a second terminal or the like) of the transistor are electrically connected to each other, and X, the source (or the first terminal or the like) of the transistor, the drain (or the second terminal or the like) of the transistor, and Y are electrically connected to each other in this order”, “a source (or a first terminal or the like) of a transistor is electrically connected to X, a drain (or a second terminal or the like) of the transistor is electrically connected to Y, and X, the source (or the first terminal or the like) of the transistor, the drain (or the second terminal or the like) of the transistor, and Y are electrically connected to each other in this order”, and “X is electrically connected to Y through a source (or a first terminal or the like) and a drain (or a second terminal or the like) of a transistor, and X, the source (or the first terminal or the like) of the transistor, the drain (or the second terminal or the like) of the transistor, and Y are provided to be connected in this order”. When the connection order in a circuit structure is defined by an expression similar to the above examples, a source (or a first terminal or the like) and a drain (or a second terminal or the like) of a transistor can be distinguished from each other to specify the technical scope. Note that one embodiment of the present invention is not limited to these expressions that are just examples. Here, X, Y, Z1, and Z2 each denote an object (e.g., a device, an element, a circuit, a wiring, an electrode, a terminal, a conductive film, and a layer).

In this specification, terms for describing arrangement, such as “over” and “under,” are used for convenience for describing the positional relation between components with reference to drawings. The positional relation between components is changed as appropriate in accordance with a direction in which each component is described. Thus, there is no limitation on terms used in this specification, and description can be made appropriately depending on the situation.

Note that the layout of circuit blocks in a block diagram in a drawing specifies the positional relation for description. Thus, even when a drawing shows that different functions are achieved in different circuit blocks, an actual circuit region may be configured so that the different functions are achieved in the same circuit block. The functions of circuit blocks in block diagrams are specified for description, and even in the case where one circuit block is illustrated, blocks might be provided in an actual circuit or an actual region so that processing performed by one circuit block is performed by a plurality of circuit blocks.

In this specification, the on state (simply referred to as ON) of an n-channel transistor means that the voltage difference between its gate and source (Vgs) is higher than the threshold voltage (Vth), and the on state of a p-channel transistor means that Vgs is lower than Vth. The off state (simply referred to as OFF) of an n-channel transistor means that Vgs is lower than Vth, and the off state of a p-channel transistor means that Vgs is higher than Vth. In addition, the off-state current in this specification refers to a drain current of a transistor in the off state. For example, the off-state current of an n-channel transistor sometimes refers to a drain current that flows when Vgs is lower than Vth. The off-state current of a transistor depends on Vgs in some cases. Thus, “the off-state current of a transistor is lower than or equal to 10⁻²¹ A” may mean “there is Vgs with which the off-state current of the transistor becomes lower than or equal to 10⁻²¹ A”.

The off-state current of a transistor depends on voltage (Vds) between its drain and source in some cases. Unless otherwise specified, the off-state current in this specification may be an off-state current at Vds with an absolute value of 0.1 V, 0.8 V, 1 V, 1.2 V, 1.8 V, 2.5 V, 3 V, 3.3 V, 10 V, 12 V, 16 V, or 20 V. Alternatively, the off-state current may be an off-state current at Vds required for a semiconductor device or the like including the transistor or at Vds used in the semiconductor device or the like including the transistor.

One embodiment of the present invention can provide a semiconductor device with low power consumption. Another embodiment of the present invention can provide a method for driving a semiconductor device with low power consumption. Another embodiment of the present invention can provide a semiconductor device in which operation delay due to stop and restart of the supply of a power supply potential is suppressed. Another embodiment of the present invention can provide a method for driving a semiconductor device in which operation delay due to stop and restart of the supply of a power supply potential is suppressed. Another embodiment of the present invention can provide a novel semiconductor device and a method for driving the semiconductor device.

Note that the description of these effects does not disturb the existence of other effects. One embodiment of the present invention does not necessarily achieve all the effects listed above. Other effects will be apparent from and can be derived from the description of the specification, the drawings, the claims, and the like.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a circuit diagram illustrating an example of a structure of a semiconductor device.

FIG. 2 is a circuit diagram illustrating an example of a structure of a semiconductor device.

FIG. 3 is a timing chart illustrating an operation example of a semiconductor device.

FIG. 4 is a circuit diagram illustrating an example of a structure of a semiconductor device.

FIG. 5 is a block diagram illustrating a specific example of a semiconductor device.

FIG. 6 is a block diagram illustrating a specific example of a semiconductor device.

FIGS. 7A and 7B are circuit diagrams each illustrating a specific example of a semiconductor device.

FIG. 8 is a block diagram illustrating a specific example of a semiconductor device.

FIG. 9 is a block diagram illustrating a specific example of a semiconductor device.

FIGS. 10A to 10D are a top view and cross-sectional views of a transistor.

FIGS. 11A and 11B are a cross-sectional view of a transistor and an energy band diagram of the transistor.

FIGS. 12A to 12D are a top view and cross-sectional views of a transistor.

FIGS. 13A to 13D are cross-sectional views and circuit diagrams of semiconductor devices.

FIGS. 14A to 14F each illustrate an example of an electronic appliance.

FIGS. 15A to 15F each illustrate an example of an RF tag.

FIG. 16 shows simulation results of circuit operation of a semiconductor device.

FIG. 17 shows simulation results of circuit operation of a semiconductor device.

FIG. 18 is a circuit diagram illustrating an example of a structure of a semiconductor device.

FIG. 19 is a circuit diagram illustrating an example of a structure of a semiconductor device.

DETAILED DESCRIPTION OF THE INVENTION

Hereinafter, embodiments will be described with reference to the accompanying drawings. Note that the embodiments can be implemented with various modes. It will be readily appreciated by those skilled in the art that modes and details can be changed in various ways without departing from the spirit and scope of the present invention. Therefore, the present invention therefore should not be construed as being limited to the following description of the embodiments.

In the drawings, the size, the layer thickness, or the region is exaggerated for clarity in some cases. Therefore, embodiments of the present invention are not limited to such a scale. Note that the drawings are schematic views showing ideal examples, and embodiments of the present invention are not limited to shapes or values shown in the drawings. For example, the following can be included: variation in signal, voltage, or current due to noise or difference in timing. In addition, in the following embodiments and examples, the same portions or portions having similar functions are denoted by the same reference numerals in different drawings, and description thereof will not be repeated.

Embodiment 1

In this embodiment, a circuit configuration of a semiconductor device of one embodiment of the present invention and a method for driving the semiconductor device are described.

<<Circuit Configuration>>

FIG. 1 and FIG. 2 are each a circuit diagram of a semiconductor device of one embodiment of the present invention. A semiconductor device 10 in FIG. 1 can be roughly divided into a memory circuit 100 (also referred to as a first memory circuit) and a memory circuit 120 (also referred to as a second memory circuit). A semiconductor device 11 in FIG. 2 is obtained by adding a precharge circuit 130 to the semiconductor device 10 in FIG. 1.

<Memory Circuit 100>

The memory circuit 100 in FIG. 1 can hold a potential corresponding to data while a power supply potential is continuously supplied.

The memory circuit 100 includes an inverter circuit 101, an inverter circuit 102, a switch 103, an inverter circuit 104, and a switch 105. The memory circuit 100 includes a node Node_1 and a node Node_2 capable of holding potentials corresponding to 1 and 0 as data while a power supply potential is supplied.

A data signal D, a clock signal C, and an inverted clock signal CB are input to the memory circuit 100, and an output signal Q is output from the memory circuit 100.

An input terminal of the inverter circuit 101 is connected to the node Node_1, and an output terminal of the inverter circuit 101 is connected to the node Node_2.

An input terminal of the inverter circuit 102 is connected to the node Node_2, and an output terminal of the inverter circuit 102 is connected to one terminal of the switch 105. The other terminal of the switch 105 is connected to the node Node_1. The on and off of the switch 105 are controlled by the inverted clock signal CB.

One terminal of the switch 103 is connected to a wiring to which the data signal D is supplied. The other terminal of the switch 103 is connected to the node Node_1. The on and off of the switch 103 are controlled by the clock signal C.

An input terminal of the inverter circuit 104 is connected to the node Node_2, and an output terminal of the inverter circuit 104 is connected to a wiring to which the data signal Q is supplied.

The inverter circuits 101, 102, and 104 are supplied with a potential V1 and a potential V2 (V1>V2) as power supply potentials. These potentials V1 and V2 are supplied as power supply potentials for the memory circuit 100. Each of the inverter circuits 101, 102, and 104 outputs the potential V2 to the output terminal when the potential V1 is supplied to the input terminal and outputs the potential V1 to the output terminal when the potential V2 is supplied to the input terminal.

As an example, the potential V1 is a high power supply potential VDD and the potential V2 is a low power supply potential VSS. The potential V2 may be a ground potential GND.

Note that here, “data “1” is held in the node Node_1 or the node Node_2” means that the potential of the node Node_1 or the node Node_2 is the potential V1. In addition, “data “0” is held in the node Node_1 or the node Node_2” means that the potential of the node Node_1 or the node Node_2 is the potential V2.

As described above, the potential V1 is higher than the potential V2. Thus, a potential that is held in or supplied to each node or each terminal on the basis of the potential V1 may be referred to as an “H-level” potential, and a potential that is held in or supplied to each node or each terminal on the basis of the potential V2 may be referred to as an “L-level” potential.

Potentials held in the nodes Node_1 and Node_2 are signals inverted from each other. In other words, the node Node_1 holds one of the H-level potential and the L-level potential, and the node Node_2 holds the other of the H-level potential and the L-level potential.

The switch 103 and the switch 105 may each be, for example, an analog switch. Alternatively, the switch 103 and the switch 105 each can be a transistor.

Although the inverter circuit 101 and the switch 105 are separately provided, one clocked inverter may be used instead of the inverter circuit 101 and the switch 105.

Note that the memory circuit 100 is not limited to the circuit in FIG. 1 and can be, for example, a volatile register, a flip-flop, or a latch circuit. The memory circuit 100 can be any of a D register, a T register, a JK register, and an RS register depending on the kind of data to be applied when a register is used as the memory circuit 100. In addition, when a flip-flop is used as the memory circuit 100, the memory circuit 100 can be any of a D flip-flop, a T flip-flop, a JK flip-flop, and an RS flip-flop depending on the kind of data to be applied.

While the supply of a power supply potential is stopped, potentials held in the nodes Node_1 and Node_2 are backed up in the memory circuit 120 (dotted arrows Save in FIG. 1). The potentials backed up in the memory circuit 120 are restored in the memory circuit 100 when the supply of the power supply potential is restarted. Note that the potentials held in the nodes Node_1 and Node_2 in the memory circuit 100 are lost when the supply of the power supply potential is stopped.

Note that “stop of the supply of a power supply potential” in this specification means that the potential difference (V1−V2) between the potential V1 and the potential V2 is switched to 0 by switching the potential of a wiring to which the potential V1 is supplied from the potential V1 to the potential V2. For example, “stop of the supply of a power supply potential to the semiconductor device 10” may mean that a switch provided between the memory circuit 100 and the wiring to which the potential V1 is supplied is turned off from an on state. For example, “stop of the supply of the power supply potential to the semiconductor device 10” may mean that a switch provided between the memory circuit 100 and the wiring to which the potential V2 is supplied is turned off from an on state.

Note that “restart of the supply of a power supply potential” in this specification means that the potential difference (V1−V2) between the potential V1 and the potential V2 is switched from 0 to a value exceeding 0 by switching the potential of the wiring to which the potential V1 is supplied from the potential V2 to the potential V1. For example, “restart of the supply of a power supply potential to the semiconductor device 10” may mean that a switch provided between the memory circuit 100 and the wiring to which the potential V1 is supplied is turned on from an off state. For example, “restart of the supply of the power supply potential to the semiconductor device 10” may mean that a switch provided between the memory circuit 100 and the wiring to which the potential V2 is supplied is turned off from an on state.

Note that “continuation of the supply of a power supply potential” in this specification means that the potential V1, with which the potential difference (V1−V2) between the potential V1 and the potential V2 becomes a value exceeding 0, is continuously supplied by holding the potential of the wiring to which the potential V1 is supplied at the potential V1. For example, “continuation of the supply of a power supply potential to the semiconductor device 10” may mean that a switch provided between the memory circuit 100 and the wiring to which the potential V1 is supplied is kept on. For example, “continuation of the supply of the power supply potential to the semiconductor device 10” may mean that a switch provided between the memory circuit 100 and the wiring to which the potential V2 is supplied is kept on.

<Memory Circuit 120>

The memory circuit 120 in FIG. 1 can hold a potential corresponding to data while the supply of a power supply potential is stopped.

The memory circuit 120 includes a transistor 121, a capacitor 122, a transistor 123, a transistor 124, a transistor 125, a capacitor 126, a transistor 127, and a transistor 128. In addition, the memory circuit 120 includes a node Node_3 and a node Node_4 that can hold potentials corresponding to 1 and 0 as data at least while the supply of the power supply potential is stopped.

The node Node_3 holds the potential of the node Node_1 at least while the supply of the power supply potential is stopped. The node Node_4 holds the potential of the node Node_2 at least while the supply of the power supply potential is stopped.

A gate of the transistor 121 is connected to a wiring to which a control signal Save (denoted by S in the drawing) is supplied. One of a source and a drain of the transistor 121 is connected to the node Node_1. The other of the source and the drain of the transistor 121 is connected to the node Node_3. Note that as an example, the transistor 121 is an n-channel transistor in the following description.

One electrode of the capacitor 122 is connected to the node Node_3. The other electrode of the capacitor 122 is connected to a wiring to which the potential V2 is supplied. Note that the capacitor 122 can be eliminated when the transistor 123 has large gate capacitance, for example.

A gate of the transistor 123 is connected to the node Node_3. One of a source and a drain of the transistor 123 is connected to the wiring to which the potential V2 is supplied. Note that as an example, the transistor 123 is an n-channel transistor in the following description.

A gate of the transistor 124 is connected to a wiring to which a control signal Load (denoted by L in the drawing) is supplied. One of a source and a drain of the transistor 124 is connected to the other of the source and the drain of the transistor 123. The other of the source and the drain of the transistor 124 is connected to the node Node_2. Note that as an example, the transistor 124 is an n-channel transistor in the following description.

A gate of the transistor 125 is connected to a wiring to which a control signal Save is supplied. One of a source and a drain of the transistor 125 is connected to the node Node_2. The other of the source and the drain of the transistor 125 is connected to the node Node_4. Note that as an example, the transistor 125 is an n-channel transistor in the following description.

One electrode of the capacitor 126 is connected to the node Node_4. The other electrode of the capacitor 126 is connected to the wiring to which the potential V2 is supplied. Note that the capacitor 126 can be eliminated when the transistor 127 has large gate capacitance, for example.

A gate of the transistor 127 is connected to the node Node_4. One of a source and a drain of the transistor 127 is connected to the wiring to which the potential V2 is supplied. Note that as an example, the transistor 127 is an n-channel transistor in the following description.

A gate of the transistor 128 is connected to the wiring to which the control signal Load is supplied. One of a source and a drain of the transistor 128 is connected to the other of the source and the drain of the transistor 127. The other of the source and the drain of the transistor 128 is connected to the node Node_1. Note that as an example, the transistor 128 is an n-channel transistor in the following description.

The control signal Save is a signal for switching between continuity and discontinuity between the node Node_1 and the node Node_3. In addition, the control signal Save is a signal for switching between continuity and discontinuity between the node Node_2 and the node Node_4. In the circuit configuration in FIG. 1, continuity is established between the node Node_1 and the node Node_3 and between the node Node_2 and the node Node_4 when the potential of the control signal Save is H level, whereas continuity is not established when the potential of the control signal Save is L level.

When the control signal Save is switched to H level, data of the nodes Node_1 and Node_2 in the memory circuit 100 can be stored in the nodes Node_3 and Node_4. In addition, when the control signal Save is switched to L level, the nodes Node_3 and Node_4 are in an electrically floating state, so that the nodes Node_3 and Node_4 can hold data as potentials.

The control signal Load is a signal for switching between continuity and discontinuity between the node Node_2 and the other of the source and the drain of the transistor 123. The control signal Load is also a signal for switching between continuity and discontinuity between the node Node_1 and the other of the source and the drain of the transistor 127. In the circuit configuration in FIG. 1, continuity is established between the node Node_2 and the other of the source and the drain of the transistor 123 and between the node Node_1 and the other of the source and the drain of the transistor 127 when the potential of the control signal Load is H level, whereas continuity is not established when the potential of the control signal Load is L level.

Data held as potentials in the nodes Node_3 and Node_4 in the memory circuit 120 while the supply of the power supply potential is stopped can be restored to the nodes Node_1 and Node_2 in the memory circuit 100 by controlling the control signal Load when the supply of the power supply potential is restarted (dotted arrows Load in the drawing).

As a specific example, the case where before the supply of the power supply potential is stopped, data “1” corresponding to the potential V1 held in the node Node_1 is stored in the node Node_3 and data “0” corresponding to the potential V2 held in the node Node_2 is stored in the node Node_4 is described. Even when the supply of the power supply potential is stopped, the potential of the node Node_3 is kept at the potential V1 and the potential of the node Node_4 is kept at the potential V2; however, the potentials of the nodes Node_1 and Node_2 have undefined values.

Since the potential V1 of the gate of the transistor 123 is higher than the potential V2, the transistor 123 has lower channel resistance than the transistor 127. Thus, in the case where the transistor 124 and the transistor 128 are turned on by setting the control signal Load at the H level, the potential of the other of the source and the drain of the transistor 124 connected to the node Node_2 is lower than the potential of the other of the source and the drain of the transistor 128 connected to the node Node_1. In the memory circuit 100, the transistor 124 and the transistor 128 are turned on; thus, the potential difference between the node Node_1 and the node Node_2 is generated.

The potential difference allows the node Node_2 to have the potential V2 and the node Node_1 to hold the potential V1 when the supply of the power supply potential is restarted in the memory circuit 100. Data corresponding to these potentials of the nodes Node_1 and Node_2 correspond to data of the nodes Node_1 and Node_2 in the memory circuit 100 when being held in the nodes Node_3 and Node_4 in the memory circuit 120, that is, just before the supply of the power supply potential is stopped.

A semiconductor material whose band gap is wider than that of silicon and whose intrinsic carrier density is lower than that of silicon is preferably be used for channel formation regions of the transistors 121 and 125. For example, an oxide semiconductor is preferable as the semiconductor material. An oxide semiconductor transistor in which an oxide semiconductor is used for a channel formation region has significantly low off-state current. Electric charge is supplied to the nodes Node_3 and Node_4 only through the sources and the drains of the transistors 121 and 125. By using oxide semiconductor transistors as the transistors 121 and 125, the potentials of the nodes Node_3 and Node_4 can be kept substantially constant while these transistors are off. For this reason, data can be held in the nodes Node_3 and Node_4 regardless of whether the power supply potential is supplied. In other words, data held in the nodes Node_1 and Node_2 in the memory circuit 100 can be backed up in the nodes Node_3 and Node_4. Note that the significantly low off-state current means that normalized off-state current per micrometer of channel width at room temperature is lower than or equal to 10×10⁻²¹ A.

The transistors 123, 124, 127, and 128 can be formed using any of a variety of semiconductor materials. For example, a material such as silicon or germanium can be used. Alternatively, it is possible to use a compound semiconductor or an oxide semiconductor. Note that as the transistors 123, 124, 127, and 128, a transistor whose mobility is high (e.g., a transistor in which a channel is formed in single crystal silicon) is preferably used.

Note that in the configuration in FIG. 1, when the potential V1 of the node Node_1 is stored in the node Node_3, a potential that is lower than the potential V1 by the threshold voltage of the transistor 121 is stored in the node Node_3 as data. For this reason, the on-state current of the transistor 123 is decreased, which takes long time for the potential of the node Node_2 to be restored. In particular, when data is restored by any processing with the node Node_2 at H level, the potential of the node Node_2 changes from H level to L level, which causes a further increase in time for the data restoration. The increase in the time taken for the data restoration lengthens the time for establishing continuity between the wiring to which the potential V1 is supplied and a wiring to which the potential V2 is supplied in the inverter circuits 101, 102, and 104, which results in increased shoot-through current and increased power consumption.

In the configuration in FIG. 1, the transistor 121 is an n-channel transistor; thus, when the potential V1 of the node Node_1 is stored in the node Node_3, the potential between the gate and the source of the transistor 121 (Vgs) decreases as the potential of the node Node_3 increases, so that the on-state current of the transistor 121 decreases. As a result, it takes a long time to store the potential V1 in the node Node_3.

In order to solve the above problems, the potentials of the nodes Node_3 and Node_4 are preferably set at H level in advance (precharged) before data is stored in the nodes.

By precharging the nodes Node_3 and Node_4, a decrease in a potential to be stored in the node Node_3 or the node Node_4 due to the threshold voltage of the transistor 121 or the transistor 125 can be prevented and the time taken for restoring data in the node Node_1 or the node Node_2 can be shortened. In addition, by restoring the data at high speed, shoot-through current in the inverter circuits 101, 102, and 104 can be suppressed and power consumption can be reduced.

After the nodes are precharged, writing of only an L-level potential is necessary as writing of data to the nodes Node_3 and Node_4 (i.e., writing of an H-level potential can be omitted). The writing of the L-level potential allows Vgs of the transistor 121 or the transistor 125 to be kept constant; thus, a decrease in on-state current, which is caused in writing of an H-level potential, does not occur and data writing can be performed in a short time.

<Precharge Circuit 130>

The precharge circuit 130 for the above-described precharge operation is described below with reference to FIG. 2. Note that the memory circuit 100 and the memory circuit 120 in FIG. 2 are the same as those in FIG. 1 and thus are not described here.

The precharge circuit 130 in FIG. 2 can input an H-level potential to the nodes Node_3 and Node_4 before the data of the memory circuit 100 is backed up in the memory circuit 120.

The precharge circuit 130 includes an inverter circuit 131, an inverter circuit 132, a transistor 133, a transistor 134, and a transistor 135. In addition, the precharge circuit 130 includes a node FN that can hold a potential higher than the potential V1.

An input terminal of the inverter circuit 131 is connected to a wiring to which a precharge signal PC is supplied, and an output terminal of the inverter circuit 131 is connected to an input terminal of the inverter circuit 132.

A gate of the transistor 133 is connected to a wiring to which the potential V1 is supplied, one of a source and a drain of the transistor 133 is connected to the wiring to which the precharge signal PC is supplied, and the other of the source and the drain of the transistor 133 is connected to the node FN. Note that as an example, the transistor 133 is an n-channel transistor in the following description.

A gate of the transistor 134 is connected to the node FN, one of a source and a drain of the transistor 134 is connected to an output terminal of the inverter circuit 132, and the other of the source and the drain of the transistor 134 is connected to the node Node_3. Note that as an example, the transistor 134 is an n-channel transistor in the following description.

A gate of the transistor 135 is connected to the node FN, one of a source and a drain of the transistor 135 is connected to the output terminal of the inverter circuit 132, and the other of the source and the drain of the transistor 135 is connected to the node Node_4. Note that as an example, the transistor 135 is an n-channel transistor in the following description.

The transistors 134 and 135 have functions of controlling input of the precharge signal PC to the nodes Node_3 and Node_4.

The inverter circuits 131 and 132 each have a function of delaying transmission of the precharge signal PC. The precharge signal PC is input to the gates of the transistors 134 and 135 via the transistor 133. In addition, the precharge signal PC is input to the one of the source and the drain of the transistor 134 and the one of the source and the drain of the transistor 135 via the inverter circuits 131 and 132. The precharge signal PC that has passed through the inverter circuits 131 and 132 is delayed in its transmission and is input to the transistors 134 and 135 later than the precharge signal PC that has passed through the transistor 133. In other words, the H-level potential is supplied to the gates of the transistors 134 and 135, and after that the potential of the one of the source and the drain of each transistor becomes H level. At this time, the potential of the node FN (the gate potentials of the transistors 134 and 135) becomes “V1+ΔV (ΔV>0)” because of capacitive coupling generated between the gate and the source and drain, so that a potential higher than the potential V1 that is a high power supply potential is supplied. Here, ΔV represents the amount of change in the potential due to the capacitive coupling generated between the gate and the source and drain (hereinafter, referred to as a boosting effect).

In the case where the inverter circuits 131 and 132 are not provided, potentials decreased by the threshold voltage of the transistors 134 and 135 are supplied to the nodes Node_3 and Node_4 and precharge operation might not be performed sufficiently. However, by providing the inverter circuits 131 and 132, the boosting effect is generated, so that a sufficient H-level potential can be supplied to the nodes Node_3 and Node_4.

Note that although two inverter circuits 131 and 132 are provided in the precharge circuit 130, n (n is an even number of 2 or more) inverter circuits may be provided depending on the delayed time needed for the boosting effect.

The transistor 133 has a function of holding a potential when the potential of the node FN becomes “V1+ΔV (ΔV>0)” that is higher than the high power supply potential.

Note that a semiconductor material whose band gap is wider than that of silicon and whose intrinsic carrier density is lower than that of silicon is preferably used for channel formation regions of the transistors 134 and 135. For example, an oxide semiconductor is preferable as the semiconductor material. An oxide semiconductor transistor in which an oxide semiconductor is used for a channel formation region has significantly low off-state current. By using oxide semiconductor transistors as the transistors 134 and 135, the potentials of the nodes Node_3 and Node_4 can be kept substantially constant while these transistors are off.

The transistor 133 and the inverter circuits 131 and 132 can be formed using any of a variety of semiconductor materials. For example, a material such as silicon or germanium can be used. Alternatively, it is possible to use a compound semiconductor or an oxide semiconductor. Note that as the transistor 133 and the inverter circuits 131 and 132, a transistor whose mobility is high (e.g., a transistor in which a channel is formed in single crystal silicon) is preferably used.

<<Timing Chart>>

Circuit operation of the semiconductor device 11 in FIG. 2 is described with reference to a timing chart in FIG. 3.

In the timing chart in FIG. 3, C represents the potential of a wiring to which the clock signal C is supplied; CB, the potential of a wiring to which the inverted clock signal CB is supplied; D, the potential of a wiring to which the data signal D is supplied; Q, the potential of a wiring to which the signal Q is supplied; S, the potential of a wiring to which the control signal Save is supplied; L, the potential of a wiring to which the control signal Load is supplied; PC, the potential of a wiring to which the precharge signal PC is supplied; FN, the potential of the node FN of the precharge circuit 130; Node_3, the potential of the node Node_3; and Node_4, the potential of the node Node_4.

In the timing chart in FIG. 3, Time T0 to Time T6 are shown in order to describe the operation timings.

When the potential of the clock signal C is set at H level at Time T0, the potential of the data signal D (H level) is taken in the memory circuit 100, so that the potential of the signal Q is set at H level. When the potential of the precharge signal PC changes from L level to H level, the precharge signal PC is input to the gates of the transistors 134 and 135 via the transistor 133 and is input to the one of the source and the drain of the transistor 134 and the one of the source and the drain of the transistor 135 via the inverter circuits 131 and 132. As described above, after the gate potential of each of the transistors 134 and 135 changes to H level, the potential of the one of the source and the drain of each transistor changes to H level. At this time, because of capacitive coupling generated between the gate and the source and the drain, the potential of the node FN (the gate potentials of the transistors 134 and 135) becomes “V1+ΔV (ΔV>0)” that is higher than the high power supply potential because of a boosting effect, so that an H-level potential can be written to the nodes Node_3 and Node_4.

When the potential of the precharge signal PC is set at L level at Time T1, precharge operation is terminated. The nodes Node_3 and Node_4 are brought into an electrically floating state and maintain the H-level potential.

When the potential of the control signal Save is set at H level at Time T2, data back up from the memory circuit 100 to the memory circuit 120 is started. The node Node_3 maintains the same H-level potential as the node Node_1. In contrast, the potential of the node Node_4 changes to the same L-level potential as the node Node_2.

When the potential of the control signal Save is set at L level at Time T3, the data back up from the memory circuit 100 to the memory circuit 120 is terminated. Since the nodes Node_3 and Node_4 are in an electrically floating state, the node Node_3 maintains the H-level potential and the node Node_4 maintains the L-level potential.

When the potential of the clock signal C is set at H level at Time T4, the potential of the data signal D (L-level potential) is taken in the memory circuit 100, so that the potential of the signal Q is set at L level.

In the period from Time T4 to Time T5, the supply of a power supply potential to the semiconductor device 11 may be stopped. If the supply of the power supply potential is stopped, data held in the memory circuit 100 is erased; however, the data backed up in the memory circuit 120 remains without being erased.

When the potential of the control signal Load is set at H level at Time T5 after the supply of the power supply potential to the semiconductor device 11 is restarted, data restoration from the memory circuit 120 to the memory circuit 100 is started. Since the potential of the node Node_4 is at L level, discontinuity between the node Node_1 and the wiring to which the potential V2 is supplied is maintained and the potential of the node Node_1 is not changed. In contrast, since the potential of the node Node_3 is at H level, continuity between the node Node_2 and the wiring to which the potential V2 is supplied is established and the potential of the node Node_2 is changed to L level. When the potential of the node Node_2 is set at L level, the potential of the node Node_1 is changed to H level by the inverter circuit 102. The output data Q is returned to the H-level potential that is the potential before Time T3 at which the data back up has been terminated.

When the control signal Load is set at L level at Time T6, the data restoration from the memory circuit 120 to the memory circuit 100 is terminated.

By the above-described circuit operation, the precharge operation of the memory circuit 120, the data back up from the memory circuit 100 to the memory circuit 120, and the data restoration from the memory circuit 120 to the memory circuit 100 can be achieved.

This embodiment can be combined as appropriate with any of the other embodiments and an example in this specification.

Embodiment 2

In this embodiment, modification examples of a semiconductor device of one embodiment of the present invention are described.

Modification Example 1

FIG. 4 illustrates a semiconductor device 20 in which the memory circuit 120 in the semiconductor device 11 in FIG. 2 is replaced with a memory circuit 120 a. Note that the memory circuit 100 and the precharge circuit 130 in the semiconductor device 20 are the same as those in the semiconductor device 11.

Like the memory circuit 120, the memory circuit 120 a can hold the potential of data while the supply of a power supply potential is stopped.

The memory circuit 120 a differs from the memory circuit 120 in that an inverter circuit 229 and an inverter circuit 230 are provided, and the connection relations between the memory circuit 120 a and the nodes Node_1 and Node_2 are different from those between the memory circuit 120 and the nodes Node_1 and Node_2.

When data “1” is supplied to the node Node_1 and data “0” is supplied to the node Node_2 in the semiconductor device 20, data “0” is stored in the node Node_3 and data “1” is stored in the node Node_4 before the supply of the power supply potential is stopped. When the supply of the power supply potential is started, the potential V2 is supplied to the node Node_2 via the transistors 127 and 128. As a result, data “1” is supplied to the node Node_1 and data “0” is supplied to the node Node_2. In other words, the memory circuit 100 returns to the same state as that before the supply of the power supply potential is stopped.

The description of the semiconductor device 11 can be referred to for the details of the other components in the semiconductor device 20.

A malfunction is less likely to occur in the semiconductor device 20 than in the semiconductor device 11. Specifically, a malfunction might occur as follows: when the transistors 121 and 125 are turned on by setting the potential of the control signal Save at H level, charge moves from the nodes Node_3 and Node_4 to the nodes Node_1 and Node_2, so that data of the nodes Node_1 and Node_2 are rewritten in the semiconductor device 11. In particular, the above-described malfunction is likely to occur when the capacitance of the capacitors 122 and 126 is increased to improve data retention characteristics.

In contrast, since the semiconductor device 20 does not have paths through which charge moves from the nodes Node_3 and Node_4 to the nodes Node_1 and Node_2, rewriting of data of the nodes Node_1 and Node_2 is less likely to occur. Thus, the above-described malfunction is less likely to occur even when the capacitance of the capacitors 122 and 126 is increased.

A malfunction is less likely to occur in the semiconductor device 20; thus, the semiconductor device can have high reliability.

Modification Example 2

FIG. 18 illustrates a semiconductor device 21 in which the precharge circuit 130 in the semiconductor device 11 in FIG. 2 is replaced with a precharge circuit 130 a. Note that the memory circuit 100 and the memory circuit 120 in the semiconductor device 21 are the same as those in the semiconductor device 11.

Unlike in the precharge circuit 130, the transistor 133 and the inverter circuits 131 and 132 are not provided in the precharge circuit 130 a. In addition, a signal PC1 is supplied to the transistors 134 and 135.

It is preferable that the potential of the signal PC1 be higher than the sum of the potential of a signal PC and the threshold voltage of the transistor 134 or the transistor 135. This can prevent the nodes Node_3 and Node_4 from being supplied with a potential decreased by the threshold voltage of the transistors 134 and 135.

The precharge circuit 130 a includes a small number of transistors. Thus, using the precharge circuit 130 a in the semiconductor device 21 can reduce the area of the circuit.

The description of the semiconductor device 11 can be referred to for the details of the other components in the semiconductor device 21.

Modification Example 3

FIG. 19 illustrates a semiconductor device 22 in which the precharge circuit 130 in the semiconductor device 20 in FIG. 4 is replaced with the precharge circuit 130 a. Note that the memory circuit 100 and the memory circuit 120 a in the semiconductor device 22 are the same as those in the semiconductor device 20.

The description of the semiconductor devices 11, 20, and 21 can be referred to for the details of the components in the semiconductor device 22.

Using the precharge circuit 130 a in the semiconductor device 22 can reduce the area of the circuit.

This embodiment can be combined as appropriate with any of the other embodiments and an example in this specification.

Embodiment 3

In this embodiment, a PLD of one embodiment of the present invention is described.

FIG. 5 is an example of a block diagram of a logic array included in a PLD. A logic array 300 includes a plurality of logic elements (hereinafter referred to as LEs) 301 arranged in an array. Here, the expression “arranged in an array” means that the LEs are arranged in a matrix at regular intervals, and the arrangement is not limited to that illustrated in FIG. 5.

A plurality of wirings are formed to surround the LEs 301. In FIG. 5, these wirings consist of a plurality of horizontal wiring groups 303 and a plurality of vertical wiring groups 304. A wiring group is a bundle of a plurality of wirings. A switch portion 302 is provided at an intersection of the horizontal wiring group 303 and the vertical wiring group 304. The horizontal wiring groups 303 and the vertical wiring groups 304 are connected to input-output terminals 305 to transmit and receive signals to and from a circuit provided outside the logic array 300.

Input-output terminals of the plurality of LEs 301 are connected to the horizontal wiring groups 303 and the vertical wiring groups 304 provided around the LEs 301. For example, in FIG. 5, the input-output terminals of the LEs 301 are connected to the horizontal wiring groups 303 and the vertical wiring groups 304 on the left, right, top, and bottom sides. With the use of these input-output terminals, each of the LEs 301 can be connected to another LE 301. A connection path between one LE 301 and another LE 301 is determined by a switch for switching connection between wirings provided in the switch portion 302.

On/off of the switch for switching connection between wirings in the switch portion 302 is determined in accordance with configuration data. In the case of a rewritable structure, the configuration memory provided in the switch portion 302 preferably includes a nonvolatile memory element to prevent loss of stored configuration data due to stop of the supply of a power supply potential.

FIG. 6 is a block diagram of the LE 301 in FIG. 5. The LE 301 in FIG. 6 includes, for example, a lookup table (hereinafter referred to as an LUT) 311, a flip-flop 312, and a multiplexer 313. Furthermore, in FIG. 6, configuration memories 314 and 315 electrically connected to the LUT 311 and the multiplexer 313, respectively, are provided.

In the case of a rewritable structure, the configuration memories 314 and 315 each preferably include a nonvolatile memory element to prevent loss of stored configuration data due to stop of the supply of the power supply potential.

The configuration data refers to, for example, data of the LUT 311, information on selection of input signals of the multiplexer 313, and data on whether the switch portion 302 is conductive or not. The configuration memory refers to a memory circuit for storing the configuration data.

A logic circuit determined by the LUT 311 varies depending on the content of configuration data stored in the configuration memory 314. When the configuration data is determined, one output value of the LUT 311 with respect to input values of a plurality of input signals input to input terminals 316 is determined. Then, the LUT 311 outputs a signal containing the output value.

The flip-flop 312 holds the signal output from the LUT 311 and outputs an output signal corresponding to the signal to the multiplexer 313 in synchronization with a clock signal C.

The output signal from the LUT 311 and the output signal from the flip-flop 312 are input to the multiplexer 313. The multiplexer 313 has a function of selecting and outputting one of the two output signals in accordance with configuration data stored in the configuration memory 315. The output signal from the multiplexer 313 is output from an output terminal 317.

In one embodiment of the present invention, when the semiconductor device described in the above embodiment is used for a circuit for temporarily storing data therein, e.g., the flip-flop 312, loss of data in the flip-flop caused by stop of the supply of a power supply potential can be prevented. Furthermore, data held before the stop of the supply of the power supply potential can be backed up in a short time, and the data can be loaded in a short time after the supply of the power supply potential is restarted. Accordingly, the supply of the power supply potential can be stopped in a plurality of logic elements included in the PLD. Thus, power consumption of the PLD can be low.

FIG. 7A illustrates an example of a nonvolatile memory element that can be used as a configuration memory provided in the switch portion 302. The nonvolatile memory element in FIG. 7A has a structure in which a configuration memory is formed using a transistor including an oxide semiconductor. When the nonvolatile memory element used as the configuration memory is configured to hold data by utilizing a low off-state current of the transistor including an oxide semiconductor, the configuration memory can be manufactured through a manufacturing process of the transistor and by stacking the transistors, for example. This is highly advantageous in reducing cost.

Note that in a memory circuit that utilizes an extremely low off-state current of a transistor including an oxide semiconductor layer in a channel portion, a predetermined voltage might keep being supplied to the transistor in a period for retaining data. For example, a voltage that turns off the transistor completely might keep being supplied to a gate of the transistor. Alternatively, a voltage that shifts the threshold voltage of the transistor to make the transistor in a normally-off state may keep being supplied to a back gate of the transistor. In these cases, the voltage is supplied to the memory circuit in the period for holding data. However, because almost no current flows, little power is consumed. Because of little power consumption, even if the predetermined voltage is supplied to the memory circuit, the memory circuit can be regarded as being substantially nonvolatile.

FIG. 7A illustrates a configuration memory 500 provided in the switch portion 302, for example. The configuration memory 500 controls electrical connection between a terminal S1 and a terminal S2 in accordance with configuration data held in a node mem.

The configuration memory 500 in FIG. 7A includes a transistor 511, a transistor 512, a transistor 513, and a capacitor 514.

FIG. 7B illustrates, for example, a configuration memory 520 that can control the LUT 311 and the multiplexer 313. The configuration memory 520 controls signals of an output terminal OUT in accordance with configuration data held in nodes mem1 and mem2. A potential VH and a potential VL are signals for controlling the LUT 311 or the multiplexer 313.

The configuration memory 520 in FIG. 7B includes a transistor 531, a transistor 532, a transistor 533, a capacitor 534, a transistor 535, a transistor 536, a transistor 537, and a capacitor 538.

A semiconductor material that has a wider band gap and lower intrinsic carrier density than silicon may be used for a channel formation region in each of the transistors 511, 531, and 535. An oxide semiconductor is a preferable example of the semiconductor material. In contrast, for example, a semiconductor material such as silicon may be used for a channel formation region in each of the transistors 512, 513, 532, 533, 536, and 537.

Note that in the drawings, “OS” is written beside each of the transistors 511, 531, and 535 to indicate that each of the transistors 511, 531, and 535 includes an oxide semiconductor in the channel formation region.

The details of the configuration memory 500 are described with reference to FIG. 7A. As illustrated in FIG. 7A, a gate of the transistor 511 is connected to a first word line 502. One of a source and a drain of the transistor 511 is connected to a data line 501. The other of the source and the drain of the transistor 511 is connected to a gate of the transistor 512 and the capacitor 514. One of a source and a drain of the transistor 512 is connected to the terminal S1. The other of the source and the drain of the transistor 512 is connected to one of a source and a drain of the transistor 513. A gate of the transistor 513 is connected to a second word line 503. The other of the source and the drain of the transistor 513 is connected to the terminal S2.

In the configuration memory 500 in FIG. 7A, a potential corresponding to H level or L level is held in the node mem as configuration data. Configuration data can be stored in the node mem by using a transistor whose off-state current is extremely low as the transistor 511. In the configuration memory 500, whether the transistor 512 is turned on or off is controlled in accordance with the potential of configuration data. At the time of turning on the transistor 513, electrical connection between the terminal S1 and the terminal S2 can be controlled.

Next, the details of the configuration memory 520 are described with reference to FIG. 7B. As illustrated in FIG. 7B, a gate of the transistor 531 is connected to a first word line 542. One of a source and a drain of the transistor 531 is connected to a data line 541. The other of the source and the drain of the transistor 531 is connected to a gate of the transistor 532 and the capacitor 534. One of a source and a drain of the transistor 532 is connected to a wiring to which the potential VH is supplied. The other of the source and the drain of the transistor 532 is connected to one of a source and a drain of the transistor 533. A gate of the transistor 533 is connected to a second word line 543. The other of the source and the drain of the transistor 533 is connected to the output terminal OUT. A gate of the transistor 535 is connected to the first word line 542. One of a source and a drain of the transistor 535 is connected to the data line 541 through an inverter circuit 540. The other of the source and the drain of the transistor 535 is connected to a gate of the transistor 536 and the capacitor 538. One of a source and a drain of the transistor 536 is connected to a wiring to which the potential VL is supplied. The other of the source and the drain of the transistor 536 is connected to one of a source and a drain of the transistor 537. A gate of the transistor 537 is connected to the second word line 543. The other of the source and the drain of the transistor 537 is connected to the output terminal OUT.

In the configuration memory 520 in FIG. 7B, as configuration data, a potential corresponding to an H level and a potential corresponding to an L level are held in the nodes mem1 and mem2, respectively, or a potential corresponding to an L level and a potential corresponding to an H level are held in the nodes mem1 and mem2, respectively. Configuration data can be stored in the nodes mem1 and mem2 by using a transistor whose off-state current is extremely low as each of the transistors 531 and 535. In the configuration memory 520, whether each of the transistors 532 and 536 is turned on or off is controlled in accordance with the potential of configuration data. At the time of turning on each of the transistors 533 and 537, a signal output from the output terminal OUT can be set to the potential VH or the potential VL.

This embodiment can be combined as appropriate with any of the other embodiments and an example in this specification.

Embodiment 4

In this embodiment, a CPU of one embodiment of the present invention is described with reference to drawings.

FIG. 8 illustrates an example of a block diagram of a CPU 400.

A CPU 400 includes, for example, a program counter 411, an instruction register 412, an instruction decoder 413, a general-purpose register 414, and an arithmetic logic unit (ALU) 415. A main memory device 401 for inputting and outputting data to and from the CPU 400 is provided outside the CPU 400.

The program counter 411 has a function of specifying the address of an instruction (command) to be read (fetched) from the main memory device 401. The instruction register 412 has a function of temporarily storing data transmitted to the instruction decoder 413 from the main memory device 401. The instruction decoder 413 has a function of decoding the input data and specifying a register in the general-purpose register 414. The instruction decoder 413 also has a function of generating a signal for specifying an arithmetic method in the ALU 415. The general-purpose register 414 has a function of storing data read from the main memory device 401, data obtained during the arithmetic operations in the ALU 415, data obtained as a result of the arithmetic operations of the ALU 415, or the like. The ALU 415 has a function of performing a variety of arithmetic operations such as four arithmetic operations and logic operations. In the CPU 400, a data cache or the like, that is, a circuit that temporarily stores an arithmetic result or the like, may be additionally provided.

Next, operation of the CPU 400 is described.

First, the program counter 411 specifies the address of an instruction stored in the main memory device 401. Then, the instruction specified by the program counter 411 is read from the main memory device 401 and stored in the instruction register 412.

The instruction decoder 413 decodes the data stored in the instruction register 412 and passes the decoded data to the general-purpose register 414 and the ALU 415. Specifically, the instruction decoder 413 generates a signal for specifying a register in the general-purpose register 414, and a signal for specifying an arithmetic method in the ALU 415, and the like.

The general-purpose register 414 outputs the data specified by the instruction decoder 413 to the ALU 415 or the main memory device 401. In the ALU 415, arithmetic operations are carried out in accordance with the arithmetic method specified by the instruction decoder 413, and arithmetic results are stored in the general-purpose register 414.

After the termination of the instruction, the CPU 400 repeats the series of operations (reading of the instruction, decoding of the instruction, and execution of the instruction).

In one embodiment of the present invention, the semiconductor device described in Embodiment 1 or Embodiment 2 is applied to registers for temporarily storing data in circuits, such as the program counter 411, the instruction register 412, the instruction decoder 413, and the general-purpose register 414; thus, loss of data in the registers caused by stop of the supply of a power supply potential can be prevented. Furthermore, data held before the stop of the supply of the power supply potential can be backed up in a short time, and the data can be restored in a short time after the supply of the power supply potential is restarted. Thus, in the entire CPU 400 or the circuits included in the CPU 400, the supply of the power supply potential can be stopped. Consequently, the power consumption of the CPU 400 can be low.

FIG. 9 illustrates an example of a structure for stopping or restarting the supply of a power supply potential to the CPU 400. In FIG. 9, the CPU 400, a power switch 421, and a power supply control circuit 422 are provided.

The power switch 421 can control stop or restart of the supply of the power supply potential to the CPU 400 in accordance with its on state or off state. Specifically, the power supply control circuit 422 outputs a power control signal Power_EN for turning on or off the power switch 421 to control the stop or the restart of the supply of the power supply potential to the CPU 400. By turning on the power switch 421, a power supply potential is supplied to the CPU 400 from wirings to which the potentials V1 and V2 are supplied. Furthermore, by turning off the power switch 421, a path of current between the wirings to which the potentials V1 and V2 are supplied is cut, so that the supply of the power supply potential to the CPU 400 is stopped.

The power supply control circuit 422 has a function of collectively controlling operations of the power switch 421 and the CPU 400 in accordance with the frequency of input data Data. Specifically, the power supply control circuit 422 outputs a power control signal Power_EN for turning on or off the power switch 421 and control signals Save and Load for controlling data backed up and restored in the register. As described above, the control signals Save and Load are signals for backing up and restoring potentials in the registers in the volatile memory circuit and the nonvolatile memory circuit portion.

Next, operation examples of the CPU 400, the power switch 421, and the power supply control circuit 422 that are illustrated in FIG. 9 are described.

When the supply of the power supply potential is continuously performed, stopped, or restarted, determination is made in accordance with the frequency of data Data input to the power supply control circuit 422. Specifically, in the case where data Data is continuously input to the CPU 400, the power supply control circuit 422 outputs the power control signal so that the supply of the power supply potential is continued. In the case where data Data is input to the CPU 400 intermittently, at timing when the data Data is input, the power supply control circuit 422 outputs the power control signal so that the supply of the power supply potential is stopped or restarted.

It is preferable that the power supply control circuit 422 have a structure in which a power supply potential is continuously supplied even while the supply of the power supply potential to the CPU 400 is stopped. With the this structure, the supply of the power supply potential to the CPU 400 can be stopped or restarted at desired timing.

This embodiment can be combined as appropriate with any of the other embodiments and an example in this specification.

Embodiment 5

In this embodiment, the oxide semiconductor transistor used in the above embodiment is described with reference to drawings. Note that the oxide semiconductor transistor described in this embodiment is an example, and the shape of a transistor that can be used in the above embodiment is not limited to the shapes in this embodiment.

<Example of Structure of Oxide Semiconductor Transistor>

FIGS. 10A to 10D are a top view and cross-sectional views of a transistor 600. FIG. 10A is the top view. FIG. 10B illustrates a cross section along the dashed-dotted line Y1-Y2 in FIG. 10A. FIG. 10C illustrates a cross section along the dashed-dotted line X1-X2 in FIG. 10A. FIG. 10D illustrates a cross section along the dashed-dotted line X3-X4 in FIG. 10A. In FIGS. 10A to 10D, some components are scaled up or down or omitted for easy understanding. In some cases, the direction of the dashed-dotted line Y1-Y2 is referred to as a channel length direction and the direction of the dashed-dotted line X1-X2 is referred to as a channel width direction.

Note that the channel length refers to, for example, the distance between a source (a source region or a source electrode) and a drain (a drain region or a drain electrode) in a region where a semiconductor (or a portion where a current flows in a semiconductor when a transistor is on) and a gate electrode overlap with each other or a region where a channel is formed in a top view of the transistor. In one transistor, channel lengths in all regions are not necessarily the same. In other words, the channel length of one transistor is not limited to one value in some cases. Therefore, in this specification, the channel length is any one of values, the maximum value, the minimum value, or the average value in a region where a channel is formed.

The channel width refers to, for example, the length of a portion where a source and a drain face each other in a region where a semiconductor (or a portion where a current flows in a semiconductor when a transistor is on) and a gate electrode overlap with each other, or a region where a channel is formed. In one transistor, channel widths in all regions do not necessarily have the same value. In other words, the channel width of one transistor is not fixed to one value in some cases. Therefore, in this specification, the channel width is any one of values, the maximum value, the minimum value, or the average value in a region where a channel is formed.

Note that depending on transistor structures, the channel width in a region where a channel is formed actually (hereinafter referred to as an effective channel width) is different from the channel width shown in a top view of a transistor (hereinafter referred to as an apparent channel width) in some cases. For example, in a transistor having a three-dimensional structure, an effective channel width is greater than an apparent channel width shown in a top view of the transistor, and its influence cannot be ignored in some cases. For example, in a miniaturized transistor having a three-dimensional structure, the proportion of a channel region formed in a side surface of a semiconductor is higher than the proportion of a channel region formed in a top surface of a semiconductor in some cases. In that case, an effective channel width obtained when a channel is actually formed is greater than an apparent channel width shown in the top view.

In a transistor having a three-dimensional structure, an effective channel width is difficult to measure in some cases. For example, to estimate an effective channel width from a design value, it is necessary to assume that the shape of a semiconductor is known as an assumption condition. Therefore, in the case where the shape of a semiconductor is not known accurately, it is difficult to measure an effective channel width accurately.

Therefore, in this specification, in a top view of a transistor, an apparent channel width that is a length of a portion where a source and a drain face each other in a region where a semiconductor and a gate electrode overlap with each other is referred to as a surrounded channel width (SCW) in some cases. Furthermore, in this specification, in the case where the term “channel width” is simply used, it may denote a surrounded channel width and an apparent channel width. Alternatively, in this specification, in the case where the term “channel width” is simply used, it may denote an effective channel width in some cases. Note that the values of a channel length, a channel width, an effective channel width, an apparent channel width, a surrounded channel width, and the like can be determined by obtaining and analyzing a cross-sectional TEM image and the like.

Note that in the case where electric field mobility, a current value per channel width, and the like of a transistor are obtained by calculation, a surrounded channel width may be used for the calculation. In that case, a value different from one in the case where an effective channel width is used for the calculation is obtained in some cases.

The transistor 600 includes an insulating film 652 over a substrate 640; a stack in which a first oxide semiconductor 661 and a second oxide semiconductor 662 are formed in this order over the insulating film 652; a source electrode 671 and a drain electrode 672 electrically connected to part of the stack; a third oxide semiconductor 663 that covers part of the stack, part of the source electrode 671, and part of the drain electrode 672; a gate insulating film 653 and a gate electrode 673 that cover part of the stack, part of the source electrode 671, part of the drain electrode 672, and the third oxide semiconductor 663; an insulating film 654 over the source electrode 671, the drain electrode 672, and the gate electrode 673; and an insulating film 655 over the insulating film 654. Note that the first oxide semiconductor 661, the second oxide semiconductor 662, and the third oxide semiconductor 663 are collectively referred to as an oxide semiconductor 660.

Note that at least part (or all) of the source electrode 671 (and/or the drain electrode 672) is provided on at least part (or all) of a surface, side surfaces, a top surface, and/or a bottom surface of a semiconductor layer such as the second oxide semiconductor 662 (and/or the first oxide semiconductor 661).

Alternatively, at least part (or all) of the source electrode 671 (and/or the drain electrode 672) is in contact with at least part (or all) of a surface, side surfaces, a top surface, and/or a bottom surface of a semiconductor layer such as the second oxide semiconductor 662 (and/or the first oxide semiconductor 661). Alternatively, at least part (or all) of the source electrode 671 (and/or the drain electrode 672) is in contact with at least part (or all) of a semiconductor layer such as the second oxide semiconductor 662 (and/or the first oxide semiconductor 661).

Alternatively, at least part (or all) of the source electrode 671 (and/or the drain electrode 672) is electrically connected to at least part (or all) of a surface, side surfaces, a top surface, and/or a bottom surface of a semiconductor layer such as the second oxide semiconductor 662 (and/or the first oxide semiconductor 661). Alternatively, at least part (or all) of the source electrode 671 (and/or the drain electrode 672) is electrically connected to part (or all) of a semiconductor layer such as the second oxide semiconductor 662 (and/or the first oxide semiconductor 661).

Alternatively, at least part (or all) of the source electrode 671 (and/or the drain electrode 672) is provided near part (or all) of a surface, a side surface, a top surface, and/or a bottom surface of a semiconductor layer such as the second oxide semiconductor 662 (and/or the first oxide semiconductor 661). Alternatively, at least part (or all) of the source electrode 671 (and/or the drain electrode 672) is provided near part (or all) of a semiconductor layer such as the second oxide semiconductor 662 (and/or the first oxide semiconductor 661).

Alternatively, at least part (or all) of the source electrode 671 (and/or the drain electrode 672) is provided next to part (or all) of a surface, a side surface, a top surface, and/or a bottom surface of a semiconductor layer such as the second oxide semiconductor 662 (and/or the first oxide semiconductor 661). Alternatively, at least part (or all) of the source electrode 671 (and/or the drain electrode 672) is provided next to part (or all) of a semiconductor layer such as the second oxide semiconductor 662 (and/or the first oxide semiconductor 661).

Alternatively, at least part (or all) of the source electrode 671 (and/or the drain electrode 672) is provided obliquely above part (or all) of a surface, a side surface, a top surface, and/or a bottom surface of a semiconductor layer such as the second oxide semiconductor 662 (and/or the first oxide semiconductor 661). Alternatively, at least part (or all) of the source electrode 671 (and/or the drain electrode 672) is provided obliquely above part (or all) of a semiconductor layer such as the second oxide semiconductor 662 (and/or the first oxide semiconductor 661).

Alternatively, at least part (or all) of the source electrode 671 (and/or the drain electrode 672) is provided above part (or all) of a surface, a side surface, a top surface, and/or a bottom surface of a semiconductor layer such as the second oxide semiconductor 662 (and/or the first oxide semiconductor 661). Alternatively, at least part (or all) of the source electrode 671 (and/or the drain electrode 672) is provided above part (or all) of a semiconductor layer such as the second oxide semiconductor 662 (and/or the first oxide semiconductor 661).

Note that functions of a “source” and a “drain” of a transistor are sometimes replaced with each other when a transistor of opposite polarity is used or when the direction of current flowing is changed in circuit operation, for example. Therefore, the terms “source” and “drain” can be replaced with each other in this specification.

The transistor of one embodiment of the present invention has a top gate structure with a channel length of greater than or equal to 10 nm and less than or equal to 1000 nm, preferably greater than or equal to 20 nm and less than or equal to 500 nm, further preferably greater than or equal to 30 nm and less than or equal to 300 nm.

Components of the semiconductor device of this embodiment are described below in detail.

<Substrate>

The substrate 640 is not limited to a simple supporting substrate and may be a substrate where a device such as a transistor is formed. In that case, one of the gate electrode 673, the source electrode 671, and the drain electrode 672 of the transistor 600 may be electrically connected to the device.

<Base Insulating Film>

The insulating film 652 can have a function of supplying oxygen to the oxide semiconductor 660 as well as a function of preventing diffusion of impurities from the substrate 640. For this reason, the insulating film 652 is preferably an insulating film containing oxygen and more preferably an insulating film having an oxygen content higher than that in the stoichiometric composition. For example, the insulating film 652 is a film of which the amount of released oxygen when converted into oxygen atoms is 1.0×10¹⁹ atoms/cm³ or more in thermal desorption spectroscopy (TDS) analysis. Note that the temperature of the film surface in the TDS analysis is preferably higher than or equal to 100° C. and lower than or equal to 700° C., or higher than or equal to 100° C. and lower than or equal to 500° C. When the substrate 640 is a substrate where a device is formed as described above, the insulating film 652 is preferably subjected to planarization treatment such as chemical mechanical polishing (CMP) treatment so as to have a flat surface.

The insulating film 652 can be formed using an oxide insulating film of aluminum oxide, aluminum oxynitride, magnesium oxide, silicon oxide, silicon oxynitride, gallium oxide, germanium oxide, yttrium oxide, zirconium oxide, lanthanum oxide, neodymium oxide, hafnium oxide, tantalum oxide, or the like, a nitride insulating film of silicon nitride, silicon nitride oxide, aluminum nitride oxide, or the like, or a film in which any of the above materials are mixed.

<Oxide Semiconductor>

The oxide semiconductor 660 is typically formed using an In—Ga oxide, an In—Zn oxide, or an In-M-Zn oxide (M is Ti, Ga, Y, Zr, La, Ce, Nd, Sn, or Hf), and is preferably formed using an In-M-Zn oxide.

Note that the oxide semiconductor 660 is not limited to the oxide containing indium. The oxide semiconductor 660 may be, for example, a Zn—Sn oxide or a Ga—Sn oxide.

In the case where the oxide semiconductor 660 is an In-M-Zn oxide (M is Ti, Ga, Y, Zr, La, Ce, Nd, Sn, or Hf) formed by sputtering, it is preferred that the atomic ratio of metal elements of a target used for forming a film of the In-M-Zn oxide satisfy In≥M and Zn≥M. As the atomic ratio of metal elements of such a sputtering target, In:M:Zn=1:1:1, In:M:Zn=1:1:1.2, In:M:Zn=3:1:2, and In:M:Zn=2:1:3 are preferable. Note that the atomic ratios of metal elements in the oxide semiconductor 660 vary from those in the sputtering target within an error range of ±40%.

Next, a function and an effect of the oxide semiconductor 660 in which the first oxide semiconductor 661, the second oxide semiconductor 662, and the third oxide semiconductor 663 are stacked will be described using an energy band diagram in FIG. 11B. FIG. 11A is an enlarged view of the channel portion of the transistor 600 illustrated in FIG. 10B. FIG. 11B shows an energy band diagram of a portion along the chain line A1-A2 in FIG. 11A.

In FIG. 11B, Ec652, Ec661, Ec662, Ec663, and Ec653 indicate the energy of the conduction band minimum of the insulating film 652, the first oxide semiconductor 661, the second oxide semiconductor 662, the third oxide semiconductor 663, and the gate insulating film 653, respectively.

Here, a difference in energy between the vacuum level and the conduction band minimum (the difference is also referred to as electron affinity) corresponds to a value obtained by subtracting an energy gap from a difference in energy between the vacuum level and the valence band maximum (the difference is also referred to as ionization potential). The energy gap can be measured using a spectroscopic ellipsometer (UT-300 manufactured by HORIBA Jobin Yvon SAS). The energy difference between the vacuum level and the valence band maximum can be measured using an ultraviolet photoelectron spectroscopy (UPS) device (VersaProbe manufactured by ULVAC-PHI, Inc.).

An In—Ga—Zn oxide formed using a sputtering target with an atomic ratio of In:Ga:Zn=1:3:2 has an energy gap of approximately 3.5 eV and an electron affinity of approximately 4.5 eV. An In—Ga—Zn oxide formed using a sputtering target with an atomic ratio of In:Ga:Zn=1:3:4 has an energy gap of approximately 3.4 eV and an electron affinity of approximately 4.5 eV. An In—Ga—Zn oxide formed using a sputtering target with an atomic ratio of In:Ga:Zn=1:3:6 has an energy gap of approximately 3.3 eV and an electron affinity of approximately 4.5 eV. An In—Ga—Zn oxide formed using a sputtering target with an atomic ratio of In:Ga:Zn=1:6:2 has an energy gap of approximately 3.9 eV and an electron affinity of approximately 4.3 eV. An In—Ga—Zn oxide formed using a sputtering target with an atomic ratio of In:Ga:Zn=1:6:8 has an energy gap of approximately 3.5 eV and an electron affinity of approximately 4.4 eV. An In—Ga—Zn oxide which is formed using a sputtering target having an atomic ratio of In:Ga:Zn=1:6:10 has an energy gap of approximately 3.5 eV and an electron affinity of approximately 4.5 eV. An In—Ga—Zn oxide formed using a sputtering target with an atomic ratio of In:Ga:Zn=1:1:1 has an energy gap of approximately 3.2 eV and an electron affinity of approximately 4.7 eV. An In—Ga—Zn oxide formed using a sputtering target with an atomic ratio of In:Ga:Zn=3:1:2 has an energy gap of approximately 2.8 eV and an electron affinity of approximately 5.0 eV.

Since the insulating film 652 and the gate insulating film 653 are insulators, Ec652 and Ec653 are closer to the vacuum level than Ec661, Ec662, and Ec663 (i.e., the insulating film 652 and the gate insulating film 653 have a smaller electron affinity than the first oxide semiconductor 661, the second oxide semiconductor 662, and the third oxide semiconductor 663).

Ec661 is closer to the vacuum level than Ec662. Specifically, Ec661 is preferably located closer to the vacuum level than Ec662 by 0.05 eV or more, 0.07 eV or more, 0.1 eV or more, or 0.15 eV or more and 2 eV or less, 1 eV or less, 0.5 eV or less, or 0.4 eV or less.

Ec663 is closer to the vacuum level than Ec662. Specifically, Ec663 is preferably located closer to the vacuum level than Ec662 by 0.05 eV or more, 0.07 eV or more, 0.1 eV or more, or 0.15 eV or more and 2 eV or less, 1 eV or less, 0.5 eV or less, or 0.4 eV or less.

Mixed regions are formed in the vicinity of the interface between the first oxide semiconductor 661 and the second oxide semiconductor 662 and the interface between the second oxide semiconductor 662 and the third oxide semiconductor 663; thus, the energy of the conduction band minimum changes continuously. In other words, no state or few states exist at these interfaces.

Accordingly, electrons transfer mainly through the second oxide semiconductor 662 in the stacked-layer structure having the above energy band. Therefore, even if an interface state exists between the first oxide semiconductor 661 and the insulating film 652 or between the third oxide semiconductor 663 and the gate insulating film 653, the interface state hardly influences the transfer of electrons. In addition, since no interface state or few interface states exist between the first oxide semiconductor 661 and the second oxide semiconductor 662 and between the second oxide semiconductor 662 and the third oxide semiconductor 663, the transfer of electrons is not interrupted in the regions. Consequently, the transistor 600 including the above stacked oxide semiconductors can have high field-effect mobility.

Although trap states Et600 due to impurities or defects might be formed in the vicinity of the interface between the first oxide semiconductor 661 and the insulating film 652 and the interface between the third oxide semiconductor 663 and the gate insulating film 653 as illustrated in FIG. 11B, the second oxide semiconductor 662 can be separated from the trap states owing to the existence of the first oxide semiconductor 661 and the third oxide semiconductor 663.

In the transistor 600 described in this embodiment, in the channel width direction, the top surface and side surfaces of the second oxide semiconductor 662 are in contact with the third oxide semiconductor 663, and the bottom surface of the second oxide semiconductor 662 is in contact with the first oxide semiconductor 661 (see FIG. 10C). Surrounding the second oxide semiconductor 662 by the first oxide semiconductor 661 and the third oxide semiconductor 663 in this manner can further reduce the influence of the trap states.

However, when the energy difference between Ec662 and Ec661 or Ec663 is small, an electron in the second oxide semiconductor 662 might reach the trap state by passing over the energy difference. Since the electron is trapped at the trap state, a negative fixed charge is generated at the interface with the insulating film, causing the threshold voltage of the transistor to be shifted in the positive direction.

Therefore, each of the energy gaps between Ec661 and Ec662 and between Ec662 and Ec663 is preferably 0.1 eV or more, further preferably 0.15 eV or more, in which case a change in the threshold voltage of the transistor can be reduced and the transistor can have favorable electrical characteristics.

The band gap of each of the first oxide semiconductor 661 and the third oxide semiconductor 663 is preferably wider than that of the second oxide semiconductor 662.

For the first oxide semiconductor 661 and the third oxide semiconductor 663, a material containing Al, Ti, Ga, Ge, Y, Zr, Sn, La, Ce, or Hf with a higher atomic ratio than that used for the second oxide semiconductor 662 can be used, for example. Specifically, any of the above metal elements in an atomic ratio 1.5 times or more, preferably 2 times or more, further preferably 3 times or more as much as a metal element of the second oxide semiconductor 662 is contained. Any of the above metal elements is strongly bonded to oxygen and thus has a function of preventing generation of oxygen vacancy in the oxide semiconductor. That is, an oxygen vacancy is less likely to be generated in the first oxide semiconductor 661 and the third oxide semiconductor 663 than in the second oxide semiconductor 662.

When each of the first oxide semiconductor 661, the second oxide semiconductor 662, and the third oxide semiconductor 663 is an In-M-Zn oxide containing at least indium, zinc, and M (M is a metal such as Al, Ti, Ga, Ge, Y, Zr, Sn, La, Ce, or Hf) and the atomic ratio of In to M and Zn of the first oxide semiconductor 661 is x₁:y₁:z₁, that of the second oxide semiconductor 662 is x₂:y₂:z₂, and that of the third oxide semiconductor 663 is x₃:y₃:z₃, each of y₁/x₁ and y₃/x₃ is preferably larger than y₂/x₂. Each of y₁/x₁ and y₃/x₃ is one and a half times or more as large as y₂/x₂, preferably twice or more as large as y₂/x₂, more preferably three times or more as large as y₂/x₂. In this case, the transistor can have stable electrical characteristics when y₂ is greater than or equal to x₂ in the second oxide semiconductor 662. However, when y₂ is 3 times or more as large as x₂, the field-effect mobility of the transistor is reduced; accordingly, y₂ is preferably smaller than 3 times x₂.

In the case where Zn and O are not taken into consideration, the proportion of In and the proportion of M in the first oxide semiconductor 661 and the third oxide semiconductor 663 are preferably lower than 50 atomic % and higher than or equal to 50 atomic %, respectively, and further preferably lower than 25 atomic % and higher than or equal to 75 atomic %, respectively. In the case where Zn and O are not taken into consideration, the proportion of In and the proportion of M in the second oxide semiconductor 662 are preferably greater than or equal to 25 atomic % and less than 75 atomic %, respectively, and further preferably greater than or equal to 34 atomic % and less than 66 atomic %, respectively.

The thickness of each of the first oxide semiconductor 661 and the third oxide semiconductor 663 ranges from 3 nm to 100 nm, preferably from 3 nm to 50 nm. The thickness of the second oxide semiconductor 662 ranges from 3 nm to 200 nm, preferably from 3 nm to 100 nm, further preferably from 3 nm to 50 nm. The second oxide semiconductor 662 is preferably thicker than the first oxide semiconductor 661 and the third oxide semiconductor 663.

Note that stable electrical characteristics can be effectively imparted to a transistor in which an oxide semiconductor layer serves as a channel by reducing the concentration of impurities in the oxide semiconductor layer to make the oxide semiconductor layer intrinsic or substantially intrinsic. The term “substantially intrinsic” refers to the state where an oxide semiconductor layer has a carrier density lower than 1×10¹⁷/cm³, preferably lower than 1×10¹⁵/cm³, further preferably lower than 1×10¹³/cm³.

In the oxide semiconductor, hydrogen, nitrogen, carbon, silicon, and a metal element other than a main component are impurities. For example, hydrogen and nitrogen form donor levels to increase the carrier density, and silicon forms impurity levels in the oxide semiconductor layer. In addition, silicon in the oxide semiconductor forms an impurity level. The impurity levels serve as traps and might cause the electric characteristics of the transistor to deteriorate. Therefore, it is preferable to reduce the concentration of the impurities in the first oxide semiconductor 661, the second oxide semiconductor 662, and the third oxide semiconductor 663 and at interfaces between the layers.

In order to make the oxide semiconductor intrinsic or substantially intrinsic, for example, the concentration of silicon at a certain depth of the oxide semiconductor or in a region of the oxide semiconductor, which is measured by in secondary ion mass spectrometry (SIMS), is lower than 1×10¹⁹ atoms/cm³, preferably lower than 5×10¹⁸ atoms/cm³, further preferably lower than 1×10¹⁸ atoms/cm³. The concentration of hydrogen at a certain depth of the oxide semiconductor or in a region of the oxide semiconductor is lower than or equal to 2×10²⁰ atoms/cm³, preferably lower than or equal to 5×10¹⁹ atoms/cm³, further preferably lower than or equal to 1×10¹⁹ atoms/cm³, still further preferably lower than or equal to 5×10¹⁸ atoms/cm³. The concentration of nitrogen at a certain depth of the oxide semiconductor or in a region of the oxide semiconductor is lower than 5×10¹⁹ atoms/cm³, preferably lower than or equal to 5×10¹⁸ atoms/cm³, further preferably lower than or equal to 1×10¹⁸ atoms/cm³, still further preferably lower than or equal to 5×10¹⁷ atoms/cm³.

In addition, in the case where the oxide semiconductor includes a crystal, high concentration of silicon or carbon might reduce the crystallinity of the oxide semiconductor. In order not to lower the crystallinity of the oxide semiconductor, for example, the concentration of silicon at a certain depth of the oxide semiconductor or in a region of the oxide semiconductor is lower than 1×10¹⁹ atoms/cm³, preferably lower than 5×10¹⁸ atoms/cm³, further preferably lower than 1×10¹⁸ atoms/cm³. Furthermore, the concentration of carbon at a certain depth of the oxide semiconductor or in a region of the oxide semiconductor is lower than 1×10¹⁹ atoms/cm³, preferably lower than 5×10¹⁸ atoms/cm³, further preferably lower than 1×10¹⁸ atoms/cm³, for example.

A transistor in which the above-described highly purified oxide semiconductor is used for a channel formation region exhibits an extremely low off-state current. When a voltage between a source and a drain is set at about 0.1 V, 5 V, or 10 V, for example, the off-state current standardized on the channel width of the transistor can be as low as several yoctoamperes per micrometer to several zeptoamperes per micrometer.

In the transistor 600 described in this embodiment, the gate electrode 673 is formed to electrically surround the oxide semiconductor 660 in the channel width direction; consequently, a gate electric field is applied to the semiconductor 660 in the side surface direction in addition to the perpendicular direction (see FIG. 10C). In other words, a gate electric field is applied to the whole oxide semiconductor 660, so that current flows through the entire second oxide semiconductor 662 serving as a channel, leading to a further increase in on-state current.

<Crystal Structure of Oxide Semiconductor>

Next, a structure of an oxide semiconductor film is described below.

An oxide semiconductor film is classified roughly into a single-crystal oxide semiconductor film and a non-single-crystal oxide semiconductor film. The non-single-crystal oxide semiconductor film includes any of an amorphous oxide semiconductor film, a microcrystalline oxide semiconductor film, a polycrystalline oxide semiconductor film, a CAAC-OS film, and the like.

The amorphous oxide semiconductor film has disordered atomic arrangement and no crystalline component. A typical example thereof is an oxide semiconductor film in which no crystal part exists even in a microscopic region, and the whole of the film is amorphous.

The microcrystalline oxide semiconductor film includes a microcrystal (also referred to as nanocrystal) with a size greater than or equal to 1 nm and less than 10 nm, for example. Thus, the microcrystalline oxide semiconductor film has a higher degree of atomic order than the amorphous oxide semiconductor film. Hence, the density of defect states of the microcrystalline oxide semiconductor film is lower than that of the amorphous oxide semiconductor film.

The CAAC-OS film is one of oxide semiconductor films including a plurality of crystal parts, and most of the crystal parts each fit inside a cube whose one side is less than 100 nm. Thus, there is a case where a crystal part included in the CAAC-OS film fits inside a cube whose one side is less than 10 nm, less than 5 nm, or less than 3 nm. The density of defect states of the CAAC-OS film is lower than that of the microcrystalline oxide semiconductor film. In a transmission electron microscope (TEM) image of the CAAC-OS film, a boundary between crystal parts, that is, a grain boundary is not clearly observed. Thus, in the CAAC-OS film, a reduction in electron mobility due to the grain boundary is less likely to occur.

According to the TEM image of the CAAC-OS film observed in a direction substantially parallel to a sample surface (cross-sectional TEM image), metal atoms are arranged in a layered manner in the crystal parts. Each metal atom layer has a morphology reflecting a surface over which the CAAC-OS film is formed (hereinafter, a surface over which the CAAC-OS film is formed is referred to as a formation surface) or a top surface of the CAAC-OS film, and is arranged parallel to the formation surface or the top surface of the CAAC-OS film.

In this specification, the term “parallel” indicates that the angle formed between two straight lines is greater than or equal to −10° and less than or equal to 10°, and accordingly also includes the case where the angle is greater than or equal to −5° and less than or equal to 5°. The term “perpendicular” indicates that the angle formed between two straight lines is greater than or equal to 80° and less than or equal to 100°, and accordingly also includes the case where the angle is greater than or equal to 85° and less than or equal to 95°.

On the other hand, according to the TEM image of the CAAC-OS film observed in a direction substantially perpendicular to the sample surface (plan TEM image), metal atoms are arranged in a triangular or hexagonal configuration in the crystal parts. However, there is no regularity of arrangement of metal atoms between different crystal parts.

From the results of the cross-sectional TEM image and the plan TEM image, alignment is found in the crystal parts in the CAAC-OS film.

A CAAC-OS film is subjected to structural analysis with an X-ray diffraction (XRD) apparatus. For example, when the CAAC-OS film including an InGaZnO₄ crystal is analyzed by an out-of-plane method, a peak appears frequently when the diffraction angle (2θ) is around 31°. This peak is derived from the (009) plane of the InGaZnO₄ crystal, which indicates that crystals in the CAAC-OS film have c-axis alignment, and that the c-axes are aligned in a direction substantially perpendicular to the formation surface or the top surface of the CAAC-OS film.

On the other hand, when the CAAC-OS film is analyzed by an in-plane method in which an X-ray enters a sample in a direction substantially perpendicular to the c-axis, a peak appears frequently when 2θ is around 56°. This peak is derived from the (110) plane of the InGaZnO₄ crystal. Here, analysis (0 scan) is performed under conditions where the sample is rotated around a normal vector of a sample surface as an axis (ϕ axis) with 28 fixed at around 56°. In the case where the sample is a single-crystal oxide semiconductor film of InGaZnO₄, six peaks appear. The six peaks are derived from crystal planes equivalent to the (110) plane. On the other hand, in the case of a CAAC-OS film, a peak is not clearly observed even when ϕ scan is performed with 2θ fixed at around 56°.

According to the above results, in the CAAC-OS film having c-axis alignment, while the directions of a-axes and b-axes are irregularly oriented between crystal parts, the c-axes are aligned in a direction parallel to a normal vector of a formation surface or a normal vector of a top surface. Thus, each metal atom layer arranged in a layered manner observed in the cross-sectional TEM image corresponds to a plane parallel to the a-b plane of the crystal.

Note that the crystal part is formed concurrently with deposition of the CAAC-OS film or is formed through crystallization treatment such as heat treatment. As described above, the c-axis of the crystal is aligned in a direction parallel to a normal vector of a formation surface or a normal vector of a top surface. Thus, for example, in the case where a shape of the CAAC-OS film is changed by etching or the like, the c-axis might not be necessarily parallel to a normal vector of a formation surface or a normal vector of a top surface of the CAAC-OS film.

Furthermore, the crystallinity in the CAAC-OS film is not necessarily uniform. For example, in the case where crystal growth leading to the CAAC-OS film occurs from the vicinity of the top surface of the film, the degree of the crystallinity in the vicinity of the top surface is higher than that in the vicinity of the formation surface in some cases. Moreover, when an impurity is added to the CAAC-OS film, the crystallinity in a region to which the impurity is added is changed, and the degree of crystallinity in the CAAC-OS film varies depending on regions.

Note that when the CAAC-OS film with an InGaZnO₄ crystal is analyzed by an out-of-plane method, a peak of 2θ may also be observed at around 36°, in addition to the peak of 2θ at around 31°. The peak of 2θ at around 36° indicates that a crystal having no c-axis alignment is included in part of the CAAC-OS film. It is preferable that in the CAAC-OS film, a peak of 2θ appear at around 31° and a peak of 20 not appear at around 36°.

In a transistor including the CAAC-OS film, a change in electrical characteristics due to irradiation with visible light or ultraviolet light is small. Thus, the transistor has high reliability.

A transistor including the CAAC-OS film has higher resistance to external force, such as deformation by bending the substrate, than a Poly-Si transistor or a single crystal Si transistor, and is thus suitable for a flexible substrate such as a plastic substrate.

Note that an oxide semiconductor film may be a stacked film including two or more kinds of an amorphous oxide semiconductor film, a microcrystalline oxide semiconductor film, and a CAAC-OS film, for example.

The following conditions are preferably employed to deposit a CAAC-OS film by sputtering.

By reducing the amount of impurities entering the CAAC-OS layer during the deposition, the crystal state can be prevented from being broken by the impurities. For example, the concentration of impurities (e.g., hydrogen, water, carbon dioxide, and nitrogen) that exist in the treatment chamber may be reduced. Furthermore, the concentration of impurities in a deposition gas may be reduced. Specifically, a deposition gas whose dew point is −80° C. or lower, preferably −100° C. or lower is used.

By increasing the substrate heating temperature during the deposition, migration of a sputtered particle is likely to occur after the sputtered particle reaches a substrate surface. Specifically, the substrate heating temperature during the deposition is higher than or equal to 100° C. and lower than or equal to 740° C., preferably higher than or equal to 200° C. and lower than or equal to 500° C. By increasing the substrate heating temperature during the deposition, when the flat-plate-like or pellet-like sputtered particle reaches the substrate, migration occurs on the substrate, so that a flat plane of the sputtered particle is attached to the substrate.

Furthermore, it is preferable that the proportion of oxygen in the deposition gas be increased and the power be optimized in order to reduce plasma damage at the deposition. The proportion of oxygen in the deposition gas is higher than or equal to 30 vol %, preferably 100 vol %.

As an example of the target, an In—Ga—Zn-based oxide target is described below.

The In—Ga—Zn-based oxide target, which is polycrystalline, is made by mixing InO_(X) powder, GaO_(Y) powder, and ZnO_(Z) powder in a predetermined molar ratio, applying pressure, and performing heat treatment at a temperature higher than or equal to 1000° C. and lower than or equal to 1500° C. Note that X, Y, and Z are each a given positive number. Here, the predetermined molar ratio of InO_(X) powder to GaO_(Y) powder and ZnO_(Z) powder is, for example, 2:2:1, 8:4:3, 3:1:1, 1:1:1, 4:2:3, 1:4:4, 3:1:2, or 2:1:3. The kinds of powder and the molar ratio for mixing powder may be determined as appropriate depending on the desired target.

<Gate Electrode>

The gate electrode 673 can be formed using a metal element selected from chromium (Cr), copper (Cu), aluminum (Al), gold (Au), silver (Ag), zinc (Zn), molybdenum (Mo), tantalum (Ta), titanium (Ti), tungsten (W), manganese (Mn), nickel (Ni), iron (Fe), cobalt (Co), and ruthenium (Ru); an alloy containing any of these metal element as its component; an alloy containing a combination of any of these metal elements; or the like. The gate electrode 673 may have a single-layer structure or a stacked-layer structure of two or more layers. For example, any of the following structures can be employed: a single-layer structure of an aluminum film containing silicon; a two-layer structure in which a titanium film is stacked over an aluminum film; a two-layer structure in which a titanium film is stacked over a titanium nitride film; a two-layer structure in which a tungsten film is stacked over a titanium nitride film; a two-layer structure in which a tungsten film is stacked over a tantalum nitride film or a tungsten nitride film; a three-layer structure in which a titanium film, an aluminum film, and a titanium film are stacked in this order; a single-layer structure of a Cu—Mn alloy film; a two-layer structure in which a Cu film is stacked over a Cu—Mn alloy film; and a three-layer structure in which a Cu—Mn alloy film, a Cu film, and a Cu—Mn alloy film are stacked in this order. A Cu—Mn alloy film is preferably used because of its low electrical resistance and because it forms manganese oxide at the interface with an insulating film containing oxygen and manganese oxide can prevent Cu diffusion.

The gate electrode 673 can also be formed using a light-transmitting conductive material such as indium tin oxide, indium oxide containing tungsten oxide, indium zinc oxide containing tungsten oxide, indium oxide containing titanium oxide, indium tin oxide containing titanium oxide, indium zinc oxide, or indium tin oxide to which silicon oxide is added. It is also possible to have a layered structure formed using the above light-transmitting conductive material and the above metal element.

<Gate Insulating Film>

The gate insulating film 653 can be formed using an insulating film containing at least one of aluminum oxide, magnesium oxide, silicon oxide, silicon oxynitride, silicon nitride oxide, silicon nitride, gallium oxide, germanium oxide, yttrium oxide, zirconium oxide, lanthanum oxide, neodymium oxide, hafnium oxide, and tantalum oxide. The gate insulating film 653 may be a stack including any of the above materials. The gate insulating film 653 may contain lanthanum (La), nitrogen, or zirconium (Zr) as an impurity.

An example of a stacked-layer structure of the gate insulating film 653 is described. The gate insulating film 653 contains oxygen, nitrogen, silicon, or hafnium, for example. Specifically, the gate insulating film 653 preferably includes hafnium oxide and silicon oxide or silicon oxynitride.

Hafnium oxide has a higher dielectric constant than silicon oxide and silicon oxynitride. Therefore, by using hafnium oxide or aluminum oxide, a physical thickness can be made larger than an equivalent oxide thickness; thus, even in the case where the equivalent oxide thickness is less than or equal to 10 nm or less than or equal to 5 nm, leakage current due to tunnel current can be low. That is, it is possible to provide a transistor with a low off-state current. Moreover, hafnium oxide with a crystalline structure has higher dielectric constant than hafnium oxide with an amorphous structure. Therefore, it is preferable to use hafnium oxide with a crystalline structure in order to provide a transistor with a low off-state current. Examples of the crystalline structure include a monoclinic crystal structure and a cubic crystal structure. Note that one embodiment of the present invention is not limited to the above examples.

<Source Electrode and Drain Electrode>

The source electrode 671 and the drain electrode 672 can be formed using a material used for the gate electrode 673. A Cu—Mn alloy film is preferably used because of its low electrical resistance and because it forms manganese oxide at the interface with the oxide semiconductor 660 and manganese oxide can prevent Cu diffusion.

<Protective Insulating Film>

The insulating film 654 has a function of blocking oxygen, hydrogen, water, alkali metal, alkaline earth metal, and the like. Providing the insulating film 654 can prevent outward diffusion of oxygen from the oxide semiconductor 660 and entry of hydrogen, water, or the like into the oxide semiconductor 660 from the outside. The insulating film 654 can be, for example, a nitride insulating film. The nitride insulating film is formed using silicon nitride, silicon nitride oxide, aluminum nitride, aluminum nitride oxide, or the like. Note that instead of the nitride insulating film having a blocking effect against oxygen, hydrogen, water, alkali metal, alkaline earth metal, and the like, an oxide insulating film having a blocking effect against oxygen, hydrogen, water, and the like, may be provided. As the oxide insulating film having a blocking effect against oxygen, hydrogen, water, and the like, an aluminum oxide film, an aluminum oxynitride film, a gallium oxide film, a gallium oxynitride film, an yttrium oxide film, an yttrium oxynitride film, a hafnium oxide film, and a hafnium oxynitride film can be given.

An aluminum oxide film is preferably used as the insulating film 654 because it is highly effective in preventing transmission of both oxygen and impurities such as hydrogen and moisture. Thus, during and after the manufacturing process of the transistor, the aluminum oxide film can suitably function as a protective film that has effects of preventing entry of impurities such as hydrogen and moisture, which cause variations in the electrical characteristics of the transistor, into the oxide semiconductor 660, preventing release of oxygen, which is the main component of the oxide semiconductor 660, from the oxide semiconductor, and preventing unnecessary release of oxygen from the insulating film 652. In addition, oxygen contained in the aluminum oxide film can be diffused into the oxide semiconductor.

<Interlayer Insulating Film>

The insulating film 655 is preferably formed over the insulating film 654. The insulating film 655 can be an insulating film containing one or more of magnesium oxide, silicon oxide, silicon oxynitride, silicon nitride oxide, silicon nitride, gallium oxide, germanium oxide, yttrium oxide, zirconium oxide, lanthanum oxide, neodymium oxide, hafnium oxide, and tantalum oxide. The oxide insulating film may be a stack of any of the above materials.

<Second Gate Electrode>

Although the example where one gate electrode is provided in the transistor is illustrated in FIGS. 10A to 10D, one embodiment of the present invention is not limited thereto. A plurality of gate electrodes may be provided in the transistor. FIGS. 12A to 12D illustrate an example where the transistor 600 illustrated in FIGS. 10A to 10D is provided with a conductive film 674 as a second gate electrode. FIG. 12A is the top view. FIG. 12B illustrates a cross section along the dashed-dotted line Y1-Y2 in FIG. 12A. FIG. 12C illustrates a cross section along the dashed-dotted line X1-X2 in FIG. 12A. FIG. 12D illustrates a cross section along the dashed-dotted line X3-X4 in FIG. 12A. In FIGS. 12A to 12D, some components are scaled up or down or omitted for easy understanding.

A material or a stacked-layer structure of the gate electrode 673 can be used for the conductive film 674. The conductive film 674 functions as a gate electrode layer. The conductive film 674 may be supplied with a constant potential, or a potential or a signal that is the same as that supplied to the gate electrode 673.

The structure and method described in this embodiment can be implemented by being combined as appropriate with any of the other structures and methods described in the other embodiments.

Embodiment 6

In this embodiment, the semiconductor device described in the above embodiment is described with reference to FIGS. 13A to 13D. Note that the semiconductor device described in this embodiment is an example, and the structure of the semiconductor device of one embodiment of the present invention is not limited to the structure in this embodiment.

<Cross-Sectional Structure>

FIG. 13A is a cross-sectional view of a semiconductor device of one embodiment of the present invention. The semiconductor device in FIG. 13A includes a transistor 2200 using a first semiconductor material, a transistor 2400 using a second semiconductor material, a substrate 2000, an element separation layer 2001, a plug 2002, a wiring 2003, a plug 2004, an insulating film 2005, a wiring 2006, and a wiring 2008. The transistor 2200 includes a gate electrode 2205, a gate insulating film 2204, a sidewall insulating layer 2206, an impurity region 2203 serving as a source region or a drain region, an impurity region 2202 serving as a lightly doped drain (LDD) region or an extension region, and a channel formation region 2201.

Here, the first semiconductor material and the second semiconductor material are preferably materials having different band gaps. For example, the first semiconductor material can be a semiconductor material other than an oxide semiconductor (examples of such a semiconductor material include silicon (including strained silicon), germanium, silicon germanium, silicon carbide, gallium arsenide, aluminum gallium arsenide, indium phosphide, gallium nitride, and an organic semiconductor), and the second semiconductor material can be an oxide semiconductor. A transistor using single crystal silicon as a semiconductor material can easily operate at high speed. In contrast, a transistor using an oxide semiconductor has low off-state current. FIG. 13A illustrates an example in which the transistor 600 described in Embodiment 5 is used as the transistor 2400 containing the second semiconductor material. A cross-sectional view of the transistors in a channel length direction is on the left side of a dashed-dotted line, and a cross-sectional view of the transistors in a channel width direction is on the right side of the dashed-dotted line.

As the substrate 2000, a single crystal semiconductor substrate or a polycrystalline semiconductor substrate of silicon or silicon carbide, a compound semiconductor substrate of silicon germanium, a silicon-on-insulator (SOI) substrate, or the like may be used. A transistor formed using a semiconductor substrate can easily operate at high speed. In the case of using a p-type single crystal silicon substrate as the substrate 2000, an impurity element imparting n-type conductivity may be added to part of the substrate 2000 to form an n-well, and a p-type transistor can be formed in a region where the n-well is formed. As the impurity element imparting n-type conductivity, phosphorus (P), arsenic (As), or the like can be used. As the impurity element imparting p-type conductivity, boron (B) or the like may be used.

Alternatively, the substrate 2000 may be a metal substrate or an insulating substrate provided with a semiconductor film. Examples of the metal substrate are a stainless steel substrate, a substrate including stainless steel foil, a tungsten substrate, and a substrate including tungsten foil. Examples of the insulating substrate are a glass substrate, a quartz substrate, a plastic substrate, a flexible substrate, an attachment film, paper including a fibrous material, and a base film. Examples of the glass substrate are a barium borosilicate glass substrate, an aluminoborosilicate glass substrate, and a soda lime glass substrate. Examples of the flexible substrate are flexible synthetic resin substrates such as substrates of plastics typified by polyethylene terephthalate (PET), polyethylene naphthalate (PEN), and polyether sulfone (PES) and an acrylic substrate. Examples of the attachment film are attachment films formed using polypropylene, polyester, polyvinyl fluoride, polyvinyl chloride, and the like. Examples of the base film are base films formed using polyester, polyamide, polyimide, aramid, epoxy, an inorganic vapor a deposition film, and paper.

Alternatively, a semiconductor element may be formed using one substrate, and then, transferred to another substrate. Examples of a substrate to which a semiconductor element is transferred include, in addition to the above-described substrates, a paper substrate, a cellophane substrate, an aramid film substrate, a polyimide film substrate, a stone substrate, a wood substrate, a cloth substrate (including a natural fiber (e.g., silk, cotton, or hemp), a synthetic fiber (e.g., nylon, polyurethane, or polyester), a regenerated fiber (e.g., acetate, cupra, rayon, or regenerated polyester, or the like), a leather substrate, and a rubber substrate. When such a substrate is used, a transistor with excellent properties or a transistor with low power consumption can be formed, a device with high durability, high heat resistance can be provided, or reduction in weight or thickness can be achieved.

The transistor 2200 is separated from other transistors formed on the substrate 2000 by the element separation layer 2001. The element separation layer 2001 can be formed using an insulator containing one or more materials selected from aluminum oxide, aluminum oxynitride, magnesium oxide, silicon oxide, silicon oxynitride, silicon nitride oxide, silicon nitride, gallium oxide, germanium oxide, yttrium oxide, zirconium oxide, lanthanum oxide, neodymium oxide, hafnium oxide, tantalum oxide, and the like.

As the transistor 2200, a transistor containing silicide (salicide) or a transistor that does not include the sidewall insulating layer 2206 may be used. When a structure that contains silicide is used, the resistance of the source region and the drain region can be further lowered and the speed of the semiconductor device is increased. Furthermore, the semiconductor device can operate at low voltage; thus, power consumption of the semiconductor device can be reduced.

The transistor 2200 may be either an n-channel transistor or a p-channel transistor, and an appropriate transistor may be used in accordance with a circuit. The impurity region 2203 has higher impurity concentration than the impurity region 2202. The impurity regions 2202 and 2203 can be formed in a self-aligned manner with the use of the gate electrode 2205 and the sidewall insulating layer 2206 as masks.

Here, in the case where a silicon-based semiconductor material is used for the transistor 2200 provided in a lower portion, hydrogen in an insulating film provided in the vicinity of the semiconductor film of the transistor 2200 terminates dangling bonds of silicon; accordingly, the reliability of the transistor 2200 can be improved. Meanwhile, in the case where an oxide semiconductor is used for the transistor 2400 provided in an upper portion, hydrogen in an insulating film provided in the vicinity of the semiconductor film of the transistor 2400 becomes a factor of generating carriers in the oxide semiconductor; thus, the reliability of the transistor 2400 might be decreased. Therefore, in the case where the transistor 2400 using an oxide semiconductor is provided over the transistor 2200 using a silicon-based semiconductor material, it is particularly effective that the insulating film 2005 having a function of preventing diffusion of hydrogen is provided between the transistors 2200 and 2400. The insulating film 2005 makes hydrogen remain in the lower portion, thereby improving the reliability of the transistor 2200. In addition, since the insulating film 2005 suppresses diffusion of hydrogen from the lower portion to the upper portion, the reliability of the transistor 2400 also can be improved.

The insulating film 2005 can be formed using, for example, aluminum oxide, aluminum oxynitride, gallium oxide, gallium oxynitride, yttrium oxide, yttrium oxynitride, hafnium oxide, hafnium oxynitride, or yttria-stabilized zirconia (YSZ). In particular, the aluminum oxide film is preferably used because the aluminum oxide film has a high shielding (blocking) effect of preventing penetration of both oxygen and impurities such as hydrogen and moisture.

The plugs 2002 and 2004 and the wirings 2003 and 2008 preferably have a single-layer structure or a stacked-layer structure of a conductive film containing a low-resistance material selected from copper (Cu), tungsten (W), molybdenum (Mo), gold (Au), aluminum (Al), manganese (Mn), titanium (Ti), tantalum (Ta), nickel (Ni), chromium (Cr), lead (Pb), tin (Sn), iron (Fe), and cobalt (Co), an alloy of such a low-resistance material, or a compound containing such a material as its main component. The plugs and the wirings are particularly preferably formed using a Cu—Mn alloy, in which case manganese oxide formed at the interface with an insulator containing oxygen has a function of preventing Cu diffusion.

In FIGS. 13A and 13D, regions without reference numerals and hatch patterns represent regions formed of an insulator. The regions can be formed using an insulator containing at least one of aluminum oxide, aluminum nitride oxide, magnesium oxide, silicon oxide, silicon oxynitride, silicon nitride oxide, silicon nitride, gallium oxide, germanium oxide, yttrium oxide, zirconium oxide, lanthanum oxide, neodymium oxide, hafnium oxide, tantalum oxide, and the like. Alternatively, for the regions, an organic resin such as a polyimide resin, a polyamide resin, an acrylic resin, a siloxane resin, an epoxy resin, or a phenol resin can be used.

Note that the transistor 2200 can be a transistor of various types without being limited to a planar type transistor. For example, a FIN-type transistor, a TRI-GATE transistor, or the like can be used. An example of a cross-sectional view in this case is illustrated in FIG. 13D.

In FIG. 13D, an insulating film 2007 is provided over the substrate 2000. The substrate 2000 includes a projection with a thin tip (also referred to a fin). Note that an insulating film may be provided over the protruding portion. The insulating film functions as a mask for preventing the substrate 2000 from being etched when the projection is formed. Alternatively, the projection does not necessarily have the thin tip; a projection with a cuboid-like projection and a projection with a thick tip are permitted, for example. A gate insulating film 2604 is provided over the projection of the substrate 2000, and a gate electrode 2605 and a sidewall insulating layer 2606 are provided over the gate insulating film 2604. In the substrate 2000, an impurity region 2603 serving as a source region or a drain region, an impurity region 2602 serving as an LDD region or an extension region, and a channel formation region 2601 are formed. Note that here is shown an example in which the semiconductor substrate 2000 includes the projection; however, a semiconductor device of one embodiment of the present invention is not limited thereto. For example, a semiconductor region having a projection may be formed by processing an SOI substrate.

<Circuit Configuration Example>

In the above-described structure, electrodes of the transistor 2200 and the transistor 2400 can be connected in a variety of ways; thus, a variety of circuits can be formed. Examples of circuit configurations that can be achieved by using a semiconductor device of one embodiment of the present invention are described below.

A circuit diagram in FIG. 13B shows a configuration of what is called a CMOS circuit (inverter circuit) in which the p-channel transistor 2200 and the n-channel transistor 2400 are connected to each other in series and in which gates of the transistors are connected to each other.

A circuit diagram in FIG. 13C illustrates a configuration in which sources of the transistors 2200 and 2400 are connected to each other and drains of the transistors 2200 and 2400 are connected to each other. With such a configuration, the transistors can function as what is called an analog switch.

The structure and method described in this embodiment can be implemented by being combined as appropriate with any of the other structures and methods described in the other embodiments.

Embodiment 7

The semiconductor device of one embodiment of the present invention can be used for display devices, personal computers, image reproducing devices provided with recording media (typically, devices that reproduce the content of recording media such as digital versatile discs (DVDs) and have displays for displaying the reproduced images), or the like. Other examples of electronic appliances that can be equipped with the semiconductor device of one embodiment of the present invention are mobile phones, game machines including portable game machines, portable data appliances, e-book readers, cameras such as video cameras and digital still cameras, goggle-type displays (head mounted displays), navigation systems, audio reproducing devices (e.g., car audio systems and digital audio players), copiers, facsimiles, printers, multifunction printers, automated teller machines (ATM), and vending machines. FIGS. 14A to 14F illustrate specific examples of these electronic appliances.

FIG. 14A illustrates a portable game machine including a housing 901, a housing 902, a display portion 903, a display portion 904, a microphone 905, speakers 906, an operation key 907, a stylus 908, and the like. Although the portable game machine in FIG. 14A has the two display portions 903 and 904, the number of display portions included in a portable game machine is not limited to this.

FIG. 14B illustrates a portable data terminal including a first housing 911, a second housing 912, a first display portion 913, a second display portion 914, a joint 915, an operation key 916, and the like. The first display portion 913 is provided in the first housing 911, and the second display portion 914 is provided in the second housing 912. The first housing 911 and the second housing 912 are connected to each other with the joint 915, and the angle between the first housing 911 and the second housing 912 can be changed with the joint 915. An image on the first display portion 913 may be switched depending on the angle between the first housing 911 and the second housing 912 at the joint 915. A display device with a position input function may be used as at least one of the first display portion 913 and the second display portion 914. Note that the position input function can be added by provision of a touch panel in a display device. Alternatively, the position input function can be added by provision of a photoelectric conversion element called a photosensor in a pixel area of a display device.

FIG. 14C illustrates a laptop personal computer including a housing 921, a display portion 922, a keyboard 923, a pointing device 924, and the like.

FIG. 14D illustrates an electric refrigerator-freezer including a housing 931, a door for a refrigerator 932, a door for a freezer 933, and the like.

FIG. 14E illustrates a video camera including a first housing 941, a second housing 942, a display portion 943, operation keys 944, a lens 945, a joint 946, and the like. The operation keys 944 and the lens 945 are provided for the first housing 941, and the display portion 943 is provided for the second housing 942. The first housing 941 and the second housing 942 are connected to each other with the joint 946, and the angle between the first housing 941 and the second housing 942 can be changed with the joint 946. Images displayed on the display portion 943 may be switched in accordance with the angle at the joint 946 between the first housing 941 and the second housing 942.

FIG. 14F illustrates a passenger car, which includes a car body 951, wheels 952, a dashboard 953, lights 954, and the like.

Note that this embodiment can be combined as appropriate with any of the other embodiments and examples in this specification.

Embodiment 8

In this embodiment, application examples of an RF tag of one embodiment of the present invention are described with reference to FIGS. 15A to 15F. The RF tag is widely used and can be provided for, for example, products such as bills, coins, securities, bearer bonds, documents (e.g., driver's licenses or resident cards, see FIG. 15A), recording media (e.g., DVDs or video tapes, see FIG. 15B), packaging containers (e.g., wrapping paper or bottles, see FIG. 15C), vehicles (e.g., bicycles, see FIG. 15D), foods, plants, animals, human bodies, clothes, personal belongings (e.g., bags or glasses), household goods, medical supplies such as medicine and chemicals, and electronic appliances (e.g., liquid crystal display devices, EL display devices, television devices, or mobile phones), or tags on products (see FIGS. 15E and 15F).

An RF tag 4000 of one embodiment of the present invention is fixed to products by being attached to a surface thereof or embedded therein. For example, the RF tag 4000 is fixed to each product by being embedded in paper of a book, or embedded in an organic resin of a package. Since the RF tag 4000 can be reduced in size, thickness, and weight, it can be fixed to a product without spoiling the design of the product. Furthermore, bills, coins, securities, bearer bonds, documents, or the like can have an identification function by being provided with the RF tag 4000 of one embodiment of the present invention, and the identification function can be utilized to prevent counterfeiting. Moreover, the efficiency of a system such as an inspection system can be improved by providing the RF tag of one embodiment of the present invention for packaging containers, recording media, personal belongings, foods, clothing, household goods, electronic appliances, or the like. Vehicles can also have higher security against theft or the like by being provided with the RF tag of one embodiment of the present invention.

As described above, by using the RF tag of one embodiment of the present invention for each application described in this embodiment, power for operation such as writing or reading of data can be reduced, which results in an increase in the maximum communication distance. Moreover, data can be held for an extremely long period even in the state where power is not supplied; thus, the RFID can be preferably used for application in which data is not frequently written or read.

This embodiment can be combined as appropriate with any of the other embodiments and an example in this specification.

Example

In this example, SPICE simulation was performed on each of the semiconductor device 10 in FIG. 1 and the semiconductor device 11 in FIG. 2, and effects of the precharge circuit 130 are described.

FIG. 16 shows results of the SPICE simulation carried out for circuit operation of the semiconductor device 10 in FIG. 1. FIG. 17 shows results of the SPICE simulation carried out for circuit operation of the semiconductor device 11 in FIG. 2. In FIG. 16 and FIG. 17, the horizontal axis represents time and the vertical axis represents potential.

FIG. 16 shows changes in the potentials of the control signal Save (S in FIG. 16), the node Node_3, and the node Node_4 when data was backed up from the memory circuit 100 to the memory circuit 120 in the semiconductor device 10 in FIG. 1.

In FIG. 16, the potential of the node Node_3 is 0 V (potential V2), and the potential of the node Node_4 is 2.5 V (potential V1) in the initial state (0 sec). Although not shown, the potential of the node Node_1 is 2.5 V (potential V1), and the potential of the node Node_2 is 0 V (potential V2) in the initial state (0 sec).

According to FIG. 16, when the potential of the control signal Save was set at H level, the potential of the node Node_4 changed from H level to L level in a short time, whereas the potential of the node Node_3 changed from L level to H level over a long time and increased eventually to only 2.1 V. The reason is as follows. As described in Embodiment 1, Vgs of the transistor 121 gradually decreases when the potential of the node Node_1 is backed up in the node Node_3, which results in a decrease in the on-state current of the transistor 121 and an increase in time taken for backing up data.

When the potential supplied to the node Node_3 is low, it takes a long time to restore data to the node Node_2. When the data restoration to the node Node_2 takes a long time, the time for establishing the continuity between the wiring supplied with the potential V1 and the wiring supplied with the potential V2 in the inverter circuits 101, 102, and 104 is lengthened, which results in increased shoot-through current and power consumption.

FIG. 17 shows changes in the potentials of the control signal Save (S in FIG. 17), the node Node_3, the node Node_4, the precharge signal PC, and the node FN when data was backed up from the memory circuit 100 to the memory circuit 120 in the semiconductor device 11 in FIG. 2.

In FIG. 17, the potential of the node Node_3 is 0 V (potential V2), and the potential of the node Node_4 is 0 V (potential V2) in the initial state (0 sec). Although not shown, the potential of the node Node_1 is 2.5 V (potential V1), and the potential of the node Node_2 is 0 V (potential V2) in the initial state (0 sec).

First, when the potential of the precharge signal PC became H level, the potential of the node FN became much higher than 2.5 V because of the boosting effect described in Embodiment 1. At this time, the transistor 133 was turned off, so that the potential of the node FN was maintained. As a result, the transistors 134 and 135 were turned on, and an H-level potential was supplied to the nodes Node_3 and Node_4.

Then, the potential of the precharge signal PC was set at L level, so that the H-level potentials of the nodes Node_3 and Node_4 were maintained.

Next, the potential of the control signal Save was set at H level, the potential of the node Node_4 rapidly changed from H level to L level, whereas the node Node_3, which had been precharged with the H-level potential, maintained the H level potential. The insufficient increase in the potential of the node Node_3, which is observed in FIG. 16, is not observed in FIG. 17.

The simulation results in FIG. 16 and FIG. 17 demonstrate that the precharge circuit 130 performs high-speed and accurate data back up from the memory circuit 100 to the memory circuit 120.

Thus, the semiconductor device of one embodiment of the present invention suppresses operation delay due to stop and restart of the supply of a power supply potential.

This application is based on Japanese Patent Application serial No. 2014-038741 filed with the Japan Patent Office on Feb. 28, 2014, the entire contents of which are hereby incorporated by reference. 

What is claimed is:
 1. A semiconductor device comprising: a first circuit comprising a first node and a second node; a second circuit comprising first to sixth transistors, a third node, a fourth node, and a first wiring; and a third circuit comprising seventh to ninth transistors, first to N-th (N is an even number of 2 or more) inverter circuits, and a second wiring, wherein the first node is configured to hold one of a first potential and a second potential, wherein the second node is configured to hold the other of the first potential and the second potential, wherein the first node is electrically connected to the third node via the first transistor, and is electrically connected to the first wiring via the fifth and sixth transistors, wherein the second node is electrically connected to the fourth node via the fourth transistor, and is electrically connected to the first wiring via the second and third transistors, wherein a gate of the second transistor is electrically connected to the third node, wherein a gate of the fifth transistor is electrically connected to the fourth node, wherein one of a source and a drain of the seventh transistor is electrically connected to the third node, wherein one of a source and a drain of the eighth transistor is electrically connected to the fourth node, wherein the other of the source and the drain of the seventh transistor and the other of the source and the drain of the eighth transistor are electrically connected to the second wiring via the first to N-th inverter circuits, wherein a gate of the seventh transistor and a gate of the eighth transistor are electrically connected to the second wiring via the ninth transistor, and wherein the first, fourth, seventh, and eighth transistors each comprise an oxide semiconductor in a channel formation region.
 2. The semiconductor device according to claim 1, wherein the first wiring is supplied with the second potential, and wherein the second wiring is supplied with a precharge signal.
 3. The semiconductor device according to claim 1, wherein the third node is configured to hold the potential supplied to the first node while the supply of power supply potentials to the first to third circuits is stopped, and wherein the fourth node is configured to hold the potential supplied to the second node while the supply of the power supply potentials to the first to third circuits is stopped.
 4. An electronic appliance comprising: the semiconductor device according to claim 1, and at least one of a display device, a microphone, a speaker, an operation key, and a housing.
 5. A semiconductor device comprising: a first circuit comprising a first node and a second node; a second circuit comprising first to sixth transistors, a third node, a fourth node, and a first wiring; and a third circuit comprising seventh and eighth transistors and a second wiring, wherein the first node is configured to hold one of a first potential and a second potential, wherein the second node is configured to hold the other of the first potential and the second potential, wherein the first node is electrically connected to the third node via the first transistor, and is electrically connected to the first wiring via the fifth and sixth transistors, wherein the second node is electrically connected to the fourth node via the fourth transistor, and is electrically connected to the first wiring via the second and third transistors, wherein a gate of the second transistor is electrically connected to the third node, wherein a gate of the fifth transistor is electrically connected to the fourth node, wherein the second wiring is electrically connected to the third node via the seventh transistor, and is electrically connected to the fourth node via the eighth transistor, and wherein the first, fourth, seventh, and eighth transistors each comprise an oxide semiconductor in a channel formation region.
 6. The semiconductor device according to claim 5, wherein the first wiring is supplied with the second potential, and wherein the second wiring is supplied with a precharge signal.
 7. The semiconductor device according to claim 5, wherein the third node is configured to hold the potential supplied to the first node while the supply of power supply potentials to the first to third circuits is stopped, and wherein the fourth node is configured to hold the potential supplied to the second node while the supply of the power supply potentials to the first to third circuits is stopped.
 8. An electronic appliance comprising: the semiconductor device according to claim 5, and at least one of a display device, a microphone, a speaker, an operation key, and a housing.
 9. A semiconductor device comprising: a first circuit comprising a first node and a second node; a second circuit comprising first and second inverter circuits, first to sixth transistors, a third node, a fourth node, and a first wiring; and a third circuit comprising seventh to ninth transistors, third to N-th (N is an even number of 4 or more) inverter circuits, and a second wiring, wherein the first node is configured to hold one of a first potential and a second potential, wherein the second node is configured to hold the other of the first potential and the second potential, wherein the first node is electrically connected to the third node via the first inverter circuit and the first transistor, and is electrically connected to the first wiring via the second and third transistors, wherein the second node is electrically connected to the fourth node via the second inverter circuit and the fourth transistor, and is electrically connected to the first wiring via the fifth and sixth transistors, wherein a gate of the second transistor is electrically connected to the third node, wherein a gate of the fifth transistor is electrically connected to the fourth node, wherein one of a source and a drain of the seventh transistor is electrically connected to the third node, wherein one of a source and a drain of the eighth transistor is electrically connected to the fourth node, wherein the other of the source and the drain of the seventh transistor and the other of the source and the drain of the eighth transistor are electrically connected to the second wiring via the third to N-th inverter circuits, wherein a gate of the seventh transistor and a gate of the eighth transistor are electrically connected to the second wiring via the ninth transistor, and wherein the first, fourth, seventh, and eighth transistors each comprise an oxide semiconductor in a channel formation region.
 10. The semiconductor device according to claim 9, wherein the first wiring is supplied with the second potential, and wherein the second wiring is supplied with a precharge signal.
 11. The semiconductor device according to claim 9, wherein the third node is configured to hold the potential supplied to the second node while the supply of power supply potentials to the first to third circuits is stopped, and wherein the fourth node is configured to hold the potential supplied to the first node while the supply of the power supply potentials to the first to third circuits is stopped.
 12. An electronic appliance comprising: the semiconductor device according to claim 9, and at least one of a display device, a microphone, a speaker, an operation key, and a housing.
 13. A semiconductor device comprising: a first circuit comprising a first node and a second node; a second circuit comprising first and second inverter circuits, first to sixth transistors, a third node, a fourth node, and a first wiring; and a third circuit comprising seventh and eighth transistors and a second wiring, wherein the first node is configured to hold one of a first potential and a second potential, wherein the second node is configured to hold the other of the first potential and the second potential, wherein the first node is electrically connected to the third node via the first inverter circuit and the first transistor, and is electrically connected to the first wiring via the second and third transistors, wherein the second node is electrically connected to the fourth node via the second inverter circuit and the fourth transistor, and is electrically connected to the first wiring via the fifth and sixth transistors, wherein a gate of the second transistor is electrically connected to the third node, wherein a gate of the fifth transistor is electrically connected to the fourth node, wherein the second wiring is electrically connected to the third node via the seventh transistor, and is electrically connected to the fourth node via the eighth transistor, and wherein the first, fourth, seventh, and eighth transistors each comprise an oxide semiconductor in a channel formation region.
 14. The semiconductor device according to claim 13, wherein the first wiring is supplied with the second potential, and wherein the second wiring is supplied with a precharge signal.
 15. The semiconductor device according to claim 13, wherein the third node is configured to hold the potential supplied to the second node while the supply of power supply potentials to the first to third circuits is stopped, and wherein the fourth node is configured to hold the potential supplied to the first node while the supply of the power supply potentials to the first to third circuits is stopped.
 16. An electronic appliance comprising: the semiconductor device according to claim 13, and at least one of a display device, a microphone, a speaker, an operation key, and a housing. 